Rollup of 8 pull requests#155890
Open
JonathanBrouwer wants to merge 20 commits intorust-lang:mainfrom
Open
Conversation
This PR stabilizes the following target features: - div32 - lam-bh - lamcas - ld-seq-sa - scq
…s from implementing `ConstParamTy`
Linux v7.1 will have our new MSRVs: Rust 1.85.0 and `bindgen` 0.71.1. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
…features, r=Amanieu Partially stabilize LoongArch target features This PR stabilizes the following target features: - div32 - lam-bh - lamcas - ld-seq-sa - scq Docs PR: rust-lang/reference#2217 r? @Amanieu
…trochenkov Allow trailing `self` in more contexts Reference PR: - rust-lang/reference#2237 As a follow-up PR to rust-lang#152996, after this PR: 1. Trailing `self` can appear in paths 2. [E0429](https://doc.rust-lang.org/stable/error_codes/E0429.html#error-code-e0429) will be no longer emitted, `use ...::self [as target];` will be equivalent to `use ...::{self [as target]};` r? petrochenkov
rustc_public: implement `Pattern` type Fixes: rust-lang/project-stable-mir#120
…rochenkov Change `ItemKind::Trait` to a field variant. This changes `ItemKind::Trait` from an octuple(!!) to an enum variant with fields. Their names were chosen to match up with existing usage and minimize renaming. I'm leaning towards renaming `ident` to `name` as well; let me know if that's desired.
…t-ice, r=TaKO8Ki Fix ICE: Scalar layout for non-primitive non-enum type unsafe binder `UnsafeBinder` uses the inner layout, but the debug layout check still looked at the outer type. Check the inner type first so this does not ICE. Tracking issue: rust-lang#130516 Closes: rust-lang#154426
…t-const-params, r=BoxyUwU Disallow non_exhaustive structs and enums with non_exhaustive variants from implementing `ConstParamTy` tracking issue rust-lang#154042 r? BoxyUwU
…n-note-inner-block, r=wesleywiser Avoid misleading closure return type note A follow up fix for rust-lang#155670, fix a missed case rust-lang#155770 (comment) r? @wesleywiser cc @A4-Tacks
Contributor
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 27, 2026
Rollup of 8 pull requests try-job: dist-various-1 try-job: test-various try-job: x86_64-gnu-aux try-job: x86_64-gnu-llvm-21-3 try-job: x86_64-msvc-1 try-job: aarch64-apple try-job: x86_64-mingw-1 try-job: i686-msvc-2
Contributor
Contributor
|
⌛ Testing commit 5a87e1c with merge b20956b... Workflow: https://github.com/rust-lang/rust/actions/runs/25021321813 |
rust-bors Bot
pushed a commit
that referenced
this pull request
Apr 27, 2026
…uwer Rollup of 8 pull requests Successful merges: - #154510 (Partially stabilize LoongArch target features) - #155137 (Allow trailing `self` in more contexts) - #155513 (rustc_public: implement `Pattern` type) - #155702 (Change `ItemKind::Trait` to a field variant.) - #154896 (Fix ICE: Scalar layout for non-primitive non-enum type unsafe binder) - #155675 (Disallow non_exhaustive structs and enums with non_exhaustive variants from implementing `ConstParamTy`) - #155874 (Avoid misleading closure return type note) - #155876 (CI: rfl: move job forward to Linux v7.1-rc1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Successful merges:
selfin more contexts #155137 (Allow trailingselfin more contexts)Patterntype #155513 (rustc_public: implementPatterntype)ItemKind::Traitto a field variant. #155702 (ChangeItemKind::Traitto a field variant.)ConstParamTy#155675 (Disallow non_exhaustive structs and enums with non_exhaustive variants from implementingConstParamTy)r? @ghost
Create a similar rollup