Rollup of 9 pull requests#155885
Closed
JonathanBrouwer wants to merge 30 commits intorust-lang:mainfrom
Closed
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>
Create a new `SharedContext::emit_dyn_lint_with_sess` method to simplify code when `Session` is not needed Remove crate name from `UnexpectedCfgCargoMacroHelp`
…d, r=JonathanBrouwer,petrochenkov Remove `AttributeLintKind` Part of rust-lang#153099. The `AttributeLintKind` type is finally gone! \o/ Diff is this big because I moved a file and a lot of `Diagnostic` types. :') r? @JonathanBrouwer
…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
…RalfJung,ShoyuVanilla Rip out rustc_layout_scalar_valid_range_* attribute support And either removes tests for it or replaces the uses with pattern types. primarily fixes rust-lang#135996 fixes rust-lang#147761 fixes rust-lang#133652
…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
|
@bors r+ rollup=never p=5 |
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
…uwer Rollup of 9 pull requests Successful merges: - #155760 (Remove `AttributeLintKind`) - #154510 (Partially stabilize LoongArch target features) - #155137 (Allow trailing `self` in more contexts) - #155433 (Rip out rustc_layout_scalar_valid_range_* attribute support) - #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)
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
💔 Test for 48ece81 failed: CI. Failed job:
|
Contributor
|
PR #155433, which is a member of this rollup, was unapproved. |
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:
AttributeLintKind#155760 (RemoveAttributeLintKind)selfin more contexts #155137 (Allow trailingselfin more contexts)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