-
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 6 pull requests #109625
Rollup of 6 pull requests #109625
Commits on Feb 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f81cf4f - Browse repository at this point
Copy the full SHA f81cf4fView commit details
Commits on Mar 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1491c6f - Browse repository at this point
Copy the full SHA 1491c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16bb719 - Browse repository at this point
Copy the full SHA 16bb719View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20679b1 - Browse repository at this point
Copy the full SHA 20679b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 323551a - Browse repository at this point
Copy the full SHA 323551aView commit details
Commits on Mar 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3310f72 - Browse repository at this point
Copy the full SHA 3310f72View commit details -
Refactor:
VariantIdx::from_u32(0)
->FIRST_VARIANT
Since structs are always `VariantIdx(0)`, there's a bunch of files where the only reason they had `VariantIdx` or `vec::Idx` imported at all was to get the first variant. So this uses a constant for that, and adds some doc-comments to `VariantIdx` while I'm there, since it doesn't have any today.
Configuration menu - View commit details
-
Copy full SHA for 0439d13 - Browse repository at this point
Copy the full SHA 0439d13View commit details -
Rollup merge of rust-lang#108335 - compiler-errors:non_lifetime_binde…
…rs-rustdoc, r=GuillaumeGomez rustdoc + rustdoc-json support for `feature(non_lifetime_binders)` Makes `for<T> T: Trait` and `for<const N: usize> ..` in where clause operate correctly. Fixes rust-lang#108158
Configuration menu - View commit details
-
Copy full SHA for 8df4141 - Browse repository at this point
Copy the full SHA 8df4141View commit details -
Rollup merge of rust-lang#109593 - coop-rs:missing_doc_code_examples,…
… r=GuillaumeGomez Rustdoc Book refer to rustdoc::missing_doc_code_examples. Fixes rust-lang#109592. Fixes rust-lang#109592. But, please see a related question at rust-lang#109592 (item `2.`).
Configuration menu - View commit details
-
Copy full SHA for 64fdf5e - Browse repository at this point
Copy the full SHA 64fdf5eView commit details -
Rollup merge of rust-lang#109595 - GuillaumeGomez:improve-gui-test-au…
…to-hide-trait, r=notriddle Improve "Auto-hide trait implementation documentation" GUI test Part of rust-lang#66181. I'll start working on the `include` command for `browser-ui-test` so we can greatly reduce the duplicated code between setting tests. r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for e0cbfb9 - Browse repository at this point
Copy the full SHA e0cbfb9View commit details -
Rollup merge of rust-lang#109619 - compiler-errors:new-solver-still-f…
…urther-specializable, r=BoxyUwU Still-further-specializable projections are ambiguous in new solver Fixes https://github.com/rust-lang/rust/pull/108896/files#r1148450781 r? `@BoxyUwU` (though feel free to re-roll) --- This can be used to create an unsound transmute function with the new solver: ```rust #![feature(specialization)] trait Default { type Id; fn intu(&self) -> &Self::Id; } impl<T> Default for T { default type Id = T; fn intu(&self) -> &Self::Id { self } } fn transmute<T: Default<Id = U>, U: Copy>(t: T) -> U { *t.intu() } use std::num::NonZeroU8; fn main() { let s = transmute::<u8, Option<NonZeroU8>>(0); assert_eq!(s, None); } ```
Configuration menu - View commit details
-
Copy full SHA for 3646445 - Browse repository at this point
Copy the full SHA 3646445View commit details -
Rollup merge of rust-lang#109620 - eievui5:patch-1, r=compiler-errors
Correct typo (`back_box` -> `black_box`)
Configuration menu - View commit details
-
Copy full SHA for 5ede32d - Browse repository at this point
Copy the full SHA 5ede32dView commit details -
Rollup merge of rust-lang#109621 - scottmcm:update-variantidx, r=comp…
…iler-errors Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT` Since structs are always `VariantIdx(0)`, there's a bunch of files where the only reason they had `VariantIdx` or `vec::Idx` imported at all was to get the first variant. So this uses a constant for that, and adds some doc-comments to `VariantIdx` while I'm there, since [it doesn't have any today](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/abi/struct.VariantIdx.html).
Configuration menu - View commit details
-
Copy full SHA for d1a503c - Browse repository at this point
Copy the full SHA d1a503cView commit details