-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 7 pull requests #84535
Rollup of 7 pull requests #84535
Commits on Apr 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 259a368 - Browse repository at this point
Copy the full SHA 259a368View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cb1dcd - Browse repository at this point
Copy the full SHA 7cb1dcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 312b4fd - Browse repository at this point
Copy the full SHA 312b4fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e0d2f - Browse repository at this point
Copy the full SHA d3e0d2fView commit details
Commits on Apr 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 02a2fab - Browse repository at this point
Copy the full SHA 02a2fabView commit details -
Configuration menu - View commit details
-
Copy full SHA for f728116 - Browse repository at this point
Copy the full SHA f728116View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac44ee - Browse repository at this point
Copy the full SHA 4ac44eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca35de - Browse repository at this point
Copy the full SHA 6ca35deView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba5fb6f - Browse repository at this point
Copy the full SHA ba5fb6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c139c7 - Browse repository at this point
Copy the full SHA 3c139c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a74bf3 - Browse repository at this point
Copy the full SHA 7a74bf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5bed92 - Browse repository at this point
Copy the full SHA b5bed92View commit details
Commits on Apr 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 00c95a3 - Browse repository at this point
Copy the full SHA 00c95a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4ce655 - Browse repository at this point
Copy the full SHA e4ce655View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc97ce6 - Browse repository at this point
Copy the full SHA fc97ce6View commit details
Commits on Apr 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8629017 - Browse repository at this point
Copy the full SHA 8629017View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64ee9cc - Browse repository at this point
Copy the full SHA 64ee9ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb1fb7d - Browse repository at this point
Copy the full SHA fb1fb7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d52599 - Browse repository at this point
Copy the full SHA 0d52599View commit details -
Tor Hovland committed
Apr 24, 2021 Configuration menu - View commit details
-
Copy full SHA for ad78b50 - Browse repository at this point
Copy the full SHA ad78b50View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c0fb6 - Browse repository at this point
Copy the full SHA 56c0fb6View commit details -
Tor Hovland committed
Apr 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 0e7489a - Browse repository at this point
Copy the full SHA 0e7489aView commit details -
Tor Hovland committed
Apr 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 8bc81a0 - Browse repository at this point
Copy the full SHA 8bc81a0View commit details -
Tor Hovland committed
Apr 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 05a5a11 - Browse repository at this point
Copy the full SHA 05a5a11View commit details -
Tor Hovland committed
Apr 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 3b50461 - Browse repository at this point
Copy the full SHA 3b50461View commit details
Commits on Apr 25, 2021
-
Rollup merge of rust-lang#84200 - CDirkx:os, r=m-ou-se
Move all `sys::ext` modules to `os` This PR moves all `sys::ext` modules to `os`, centralizing the location of all `os` code and simplifying the dependencies between `os` and `sys`. Because this also removes all uses `cfg_if!` on publicly exported items, where after rust-lang#81969 there were still a few left, this should properly work around rust-lang/rust-analyzer#6038. `@rustbot` label: +T-libs-impl
Configuration menu - View commit details
-
Copy full SHA for 70647f1 - Browse repository at this point
Copy the full SHA 70647f1View commit details -
Rollup merge of rust-lang#84216 - RalfJung:black-box, r=Mark-Simulacrum
move core::hint::black_box under its own feature gate The `black_box` function had its own RFC and is tracked separately from the `test` feature at rust-lang#64102. Let's reflect this in the feature gate. To avoid breaking all the benchmarks, libtest's `test::black_box` is a wrapping definition, not a reexport -- this means it is still under the `test` feature gate.
Configuration menu - View commit details
-
Copy full SHA for e165b58 - Browse repository at this point
Copy the full SHA e165b58View commit details -
Rollup merge of rust-lang#84299 - lcnr:const-generics-defaults-name-r…
…es, r=varkor various const parameter defaults improvements Actually resolve names in const parameter defaults, fixing `struct Foo<const N: usize = { usize::MAX }>`. --- Split generic parameter ban rib for types and consts, allowing ```rust #![feature(const_generics_defaults)] struct Q; struct Foo<T = Q, const Q: usize = 3>(T); ``` --- Remove the type/const ordering restriction if `const_generics_defaults` is active, even if `const_generics` is not. allowing us to stabilize and test const param defaults separately. --- Check well formedness of const parameter defaults, eagerly emitting an error for `struct Foo<const N: usize = { 0 - 1 }>` --- Do not forbid const parameters in param defaults, allowing `struct Foo<const N: usize, T = [u8; N]>(T)` and `struct Foo<const N: usize, const M: usize = N>`. Note that this should not change anything which is stabilized, as on stable, type parameters must be in front of const parameters, which means that type parameter defaults are only allowed if no const parameters exist. We still forbid generic parameters inside of const param types. r? ``@varkor`` ``@petrochenkov``
Configuration menu - View commit details
-
Copy full SHA for ea1c221 - Browse repository at this point
Copy the full SHA ea1c221View commit details -
Rollup merge of rust-lang#84481 - RalfJung:miri, r=RalfJung
update Miri Cc ``@rust-lang/miri`` r? ``@ghost``
Configuration menu - View commit details
-
Copy full SHA for 8509ccb - Browse repository at this point
Copy the full SHA 8509ccbView commit details -
Rollup merge of rust-lang#84486 - Smittyvb:else-if-let-hir-pretty-pri…
…nt, r=petrochenkov Handle pretty printing of `else if let` clauses without ICEing When pretty printing the HIR of `if ... {} else if let ... {}` clauses, this displays it the `else if let` part as `match` it gets desugared to, the same way normal `if let` statements are currently displayed, instead of ICEing. ```rust pub fn main() { if true { // 1 } else if let a = 1 { // 2 } else { // 3 } } ``` now gets desugared (via `rustc -Zunpretty=hir,typed src/x.rs`) to: ```rust #[prelude_import] use ::std::prelude::rust_2015::*; #[macro_use] extern crate std; pub fn main() ({ (if (true as bool) ({ // 1 } as ()) else {match (1 as i32) { a => { // 2 } _ => { // 3 } }} as ()) } as ()) ``` For comparison, this code gets HIR prettyprinted the same way before and after this change: ```rust pub fn main() { if let a = 1 { // 2 } else { // 3 } } ``` turns into ```rust #[prelude_import] use ::std::prelude::rust_2015::*; #[macro_use] extern crate std; pub fn main() ({ (match (1 as i32) { a => { // 2 } _ => { // 3 } } as ()) } as ()) ``` This closes rust-lang#82329. It closes rust-lang#84434 as well, due to having the same root cause.
Configuration menu - View commit details
-
Copy full SHA for 822c24c - Browse repository at this point
Copy the full SHA 822c24cView commit details -
Rollup merge of rust-lang#84499 - estebank:issue-84272, r=jackh726
Tweak trait not `use`d suggestion Fix rust-lang#84272. Follow up to rust-lang#83667.
Configuration menu - View commit details
-
Copy full SHA for d1e2564 - Browse repository at this point
Copy the full SHA d1e2564View commit details -
Rollup merge of rust-lang#84516 - torhovland:issue-84114, r=estebank
Add suggestion to "use break" when attempting to implicit-break a loop Fixes rust-lang#84114
Configuration menu - View commit details
-
Copy full SHA for a48c332 - Browse repository at this point
Copy the full SHA a48c332View commit details