-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 11 pull requests #86527
Rollup of 11 pull requests #86527
Commits on May 7, 2021
-
This was erroneously changed in rust-lang#83387
Jethro Beekman committedMay 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 5bbf8cf - Browse repository at this point
Copy the full SHA 5bbf8cfView commit details
Commits on Jun 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 08d44c2 - Browse repository at this point
Copy the full SHA 08d44c2View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5fb2986 - Browse repository at this point
Copy the full SHA 5fb2986View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8423a19 - Browse repository at this point
Copy the full SHA 8423a19View commit details
Commits on Jun 16, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 95c1bf6 - Browse repository at this point
Copy the full SHA 95c1bf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 212e91a - Browse repository at this point
Copy the full SHA 212e91aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 503abc7 - Browse repository at this point
Copy the full SHA 503abc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 636170a - Browse repository at this point
Copy the full SHA 636170aView commit details
Commits on Jun 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 664bde0 - Browse repository at this point
Copy the full SHA 664bde0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13bfbb4 - Browse repository at this point
Copy the full SHA 13bfbb4View commit details
Commits on Jun 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 22029a2 - Browse repository at this point
Copy the full SHA 22029a2View commit details
Commits on Jun 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 4cd2fab - Browse repository at this point
Copy the full SHA 4cd2fabView commit details
Commits on Jun 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9063eda - Browse repository at this point
Copy the full SHA 9063edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd90900 - Browse repository at this point
Copy the full SHA dd90900View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05ec710 - Browse repository at this point
Copy the full SHA 05ec710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 888418a - Browse repository at this point
Copy the full SHA 888418aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8a7bfb - Browse repository at this point
Copy the full SHA b8a7bfbView commit details -
Rollup merge of rust-lang#85054 - jethrogb:jb/sgx-inline-asm, r=Amanieu
Revert SGX inline asm syntax This was erroneously changed in rust-lang#83387
Configuration menu - View commit details
-
Copy full SHA for d6e344d - Browse repository at this point
Copy the full SHA d6e344dView commit details -
Rollup merge of rust-lang#85182 - CDirkx:available_concurrency, r=Joh…
…nTitor Move `available_concurrency` implementation to `sys` This splits out the platform-specific implementation of `available_concurrency` to the corresponding platforms under `sys`. No changes are made to the implementation. Tidy didn't lint against this code being originally added outside of `sys` because of a bug (see rust-lang#84677), this PR also reverts the exclusion that was introduced in that bugfix. Tracking issue of `available_concurrency`: rust-lang#74479
Configuration menu - View commit details
-
Copy full SHA for 7f1a4a2 - Browse repository at this point
Copy the full SHA 7f1a4a2View commit details -
Rollup merge of rust-lang#86037 - soerenmeier:cursor_remaining, r=yaahc
Add `io::Cursor::{remaining, remaining_slice, is_empty}` Tracking issue: rust-lang#86369 I came across an inconvenience when answering the following [Stack Overflow](https://stackoverflow.com/questions/67831170) question. To get the remaining slice you have to call `buff.fill_buf().unwrap()`. Which in my opinion doesn't really tell you what is returned (in the context of Cursor). To improve readability and convenience when using Cursor i propose adding the method `remaining`. The next thing i found inconvenient (unnecessary long) was detecting if the cursor reached the end. There are a few ways this can be achieved right now: - `buff.fill_buf().unwrap().is_empty()` - `buff.position() >= buff.get_ref().len()` - `buff.bytes().next().is_none()` Which all seem a bit unintuitive, hidden in trait documentations or just a bit long for such a simple task. Therefor i propose another method called `is_empty`, maybe with another name, since this one may leave room for interpretation on what really is empty (the underlying slice, the remaining slice or maybe the position). Since it seemed easier to create this PR instead of an RFC i did that, if an RFC is wanted, i can close this PR and write an RFC first.
Configuration menu - View commit details
-
Copy full SHA for 4463b08 - Browse repository at this point
Copy the full SHA 4463b08View commit details -
Rollup merge of rust-lang#86114 - JDuchniewicz:feat/panic-frame-fmt, …
…r=yaahc Reopen rust-lang#79692 (Format symbols under shared frames) Reopening rust-lang#79692.
Configuration menu - View commit details
-
Copy full SHA for 7ee6b8b - Browse repository at this point
Copy the full SHA 7ee6b8bView commit details -
Rollup merge of rust-lang#86297 - GuillaumeGomez:rustdoc-gui-args, r=…
…Mark-Simulacrum Allow to pass arguments to rustdoc-gui tool Very convenient for testing. This is another part of rust-lang#86293 cc ``@jsha`` r? ``@Mark-Simulacrum``
Configuration menu - View commit details
-
Copy full SHA for 7dca2e2 - Browse repository at this point
Copy the full SHA 7dca2e2View commit details -
Rollup merge of rust-lang#86334 - LeSeulArtichaut:86120-links-type-al…
…iases, r=jyn514 Resolve type aliases to the type they point to in intra-doc links This feels a bit sketchy, but I think it's better than just rejecting the link. Helps with rust-lang#86120, r? ``@jyn514``
Configuration menu - View commit details
-
Copy full SHA for 83d9b1b - Browse repository at this point
Copy the full SHA 83d9b1bView commit details -
Rollup merge of rust-lang#86367 - m-ou-se:fix-abs-comment, r=scottmcm
Fix comment about rustc_inherit_overflow_checks in abs().
Configuration menu - View commit details
-
Copy full SHA for 8389cd3 - Browse repository at this point
Copy the full SHA 8389cd3View commit details -
Rollup merge of rust-lang#86381 - yerke:add-test-for-issue-39161, r=J…
…ohnTitor Add regression test for issue rust-lang#39161 Closes rust-lang#39161 Based on feedback from ``@JohnTitor`` in rust-lang#71333 r? ``@JohnTitor``
Configuration menu - View commit details
-
Copy full SHA for 4d73300 - Browse repository at this point
Copy the full SHA 4d73300View commit details -
Rollup merge of rust-lang#86387 - JohnTitor:now-no-unused-lifetimes, …
…r=Mark-Simulacrum Remove `#[allow(unused_lifetimes)]` which is now unnecessary Seems FP has been fixed, it doesn't need `#[allow(unused_lifetimes)]` anymore.
Configuration menu - View commit details
-
Copy full SHA for d285235 - Browse repository at this point
Copy the full SHA d285235View commit details -
Rollup merge of rust-lang#86398 - yerke:add-test-for-issue-54685, r=M…
…ark-Simulacrum Add regression test for issue rust-lang#54685 Closes rust-lang#54685 Took the test from rust-lang#54685 and modified it a bit to use assertion. Made sure that the updated test catches the original issue on 1.50 by running on Compiler Explorer (https://godbolt.org/z/E64onYeT5).
Configuration menu - View commit details
-
Copy full SHA for fdb1daa - Browse repository at this point
Copy the full SHA fdb1daaView commit details -
Rollup merge of rust-lang#86493 - Smittyvb:ctor-typeck-error, r=david…
…twco Say "this enum variant takes"/"this struct takes" instead of "this function takes" This makes error messages for functions with incorrect argument counts adapt if they refer to a struct or enum variant: ``` error[E0061]: this enum variant takes 1 argument but 0 arguments were supplied --> $DIR/struct-enum-wrong-args.rs:7:13 | LL | let _ = Ok(); | ^^-- supplied 0 arguments | | | expected 1 argument error[E0061]: this struct takes 1 argument but 0 arguments were supplied --> $DIR/struct-enum-wrong-args.rs:8:13 | LL | let _ = Wrapper(); | ^^^^^^^-- supplied 0 arguments | | | expected 1 argument ``` Fixes rust-lang#86481.
Configuration menu - View commit details
-
Copy full SHA for 4495ce7 - Browse repository at this point
Copy the full SHA 4495ce7View commit details