-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 #117272
Rollup of 6 pull requests #117272
Commits on Aug 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 15f0149 - Browse repository at this point
Copy the full SHA 15f0149View commit details
Commits on Oct 25, 2023
-
Update src/doc/rustc/src/profile-guided-optimization.md
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 29ec0ec - Browse repository at this point
Copy the full SHA 29ec0ecView commit details -
Update src/doc/rustc/src/profile-guided-optimization.md
Co-authored-by: Jakub Beránek <berykubik@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3ecc8c3 - Browse repository at this point
Copy the full SHA 3ecc8c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 515535a - Browse repository at this point
Copy the full SHA 515535aView commit details
Commits on Oct 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4392230 - Browse repository at this point
Copy the full SHA 4392230View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1836c1f - Browse repository at this point
Copy the full SHA 1836c1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27919ce - Browse repository at this point
Copy the full SHA 27919ceView commit details
Commits on Oct 27, 2023
-
Specialize ZeroSized constants
ZeroSized constants can be represented as `mir::Const::Val` even if their layout is not yet known. In those cases, CrateItem::body() was crashing when trying to convert a `ConstValue::ZeroSized` into its stable counterpart `ConstantKind::Allocated`. Instead, we now map `ConstValue::ZeroSized` into a new variant: `ConstantKind::ZeroSized`.
Configuration menu - View commit details
-
Copy full SHA for 613e618 - Browse repository at this point
Copy the full SHA 613e618View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3f7f4d - Browse repository at this point
Copy the full SHA b3f7f4dView commit details -
Rollup merge of rust-lang#114998 - meysam81:meysam/feat/add-cargo-pgo…
…-to-docs, r=ehuss feat(docs): add cargo-pgo to PGO documentation 📝 fixes rust-lang#114995
Configuration menu - View commit details
-
Copy full SHA for 8d67c32 - Browse repository at this point
Copy the full SHA 8d67c32View commit details -
Rollup merge of rust-lang#116868 - estebank:suggestion, r=petrochenkov
Tweak suggestion span for outer attr and point at item following invalid inner attr After: ``` error: `unix_sigpipe` attribute cannot be used at crate level --> $DIR/unix_sigpipe-crate.rs:2:1 | LL | #![unix_sigpipe = "inherit"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ LL | LL | fn main() {} | ------------ the inner attribute doesn't annotate this function | help: perhaps you meant to use an outer attribute | LL - #![unix_sigpipe = "inherit"] LL + #[unix_sigpipe = "inherit"] | ``` Before: ``` error: `unix_sigpipe` attribute cannot be used at crate level --> $DIR/unix_sigpipe-crate.rs:2:1 | LL | #![unix_sigpipe = "inherit"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: perhaps you meant to use an outer attribute | LL | #[unix_sigpipe = "inherit"] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` CC rust-lang#89566.
Configuration menu - View commit details
-
Copy full SHA for a69fb48 - Browse repository at this point
Copy the full SHA a69fb48View commit details -
Rollup merge of rust-lang#117240 - trueNAHO:docs-std-iter-Iterator-co…
…llect-into-fix-typo, r=the8472 Fix documentation typo in std::iter::Iterator::collect_into
Configuration menu - View commit details
-
Copy full SHA for 203292e - Browse repository at this point
Copy the full SHA 203292eView commit details -
Rollup merge of rust-lang#117241 - compiler-errors:auto-trait-leak-cy…
…cle, r=oli-obk Stash and cancel cycle errors for auto trait leakage in opaques We don't need to emit a traditional cycle error when we have a selection error that explains what's going on but in more detail. We may want to augment this error to actually point out the cycle, now that the cycle error is not being emitted. We could do that by storing the set of opaques that was in the `CyclePlaceholder` that gets returned from `type_of_opaque`. r? `@oli-obk` cc `@estebank` rust-lang#117235
Configuration menu - View commit details
-
Copy full SHA for 5459333 - Browse repository at this point
Copy the full SHA 5459333View commit details -
Rollup merge of rust-lang#117262 - celinval:issue-38-norm, r=oli-obk
Create a new ConstantKind variant (ZeroSized) for StableMIR ZeroSized constants can be represented as `mir::Const::Val` even if their layout is not yet known. In those cases, CrateItem::body() was crashing when trying to convert a `ConstValue::ZeroSized` into its stable counterpart `ConstantKind::Allocated`. Instead, we now map `ConstValue::ZeroSized` into a new variant: `ConstantKind::ZeroSized`. **Note:** I didn't add any new test here since we already have covering tests in our project repository which I manually confirmed that will fix the issue.
Configuration menu - View commit details
-
Copy full SHA for 3374480 - Browse repository at this point
Copy the full SHA 3374480View commit details -
Rollup merge of rust-lang#117266 - RalfJung:cast-not-transmute, r=thomcc
replace transmute by raw pointer cast Now that rust-lang#113257 is fixed we can finally do this. :)
Configuration menu - View commit details
-
Copy full SHA for 2fdac63 - Browse repository at this point
Copy the full SHA 2fdac63View commit details