Rollup of 14 pull requests#155401
Open
JonathanBrouwer wants to merge 93 commits intorust-lang:mainfrom
Open
Conversation
…tt_ss2si, _mm_cvt_si2ss, _mm_set_ps1
…s for _mm_undefined_ps, _mm_prefetch, _mm_load_ps1, _mm_store_ps1
Already verified by assert_instr; no output to assert at runtime.
- Note that working directory matters - Note that stdarch-gen-arm uses nightly - Fix missing directory. Without this, it would print to stdout in one giant merged file.
Add more docs on how to run the generator
Add missing runtime tests for SSE alias intrinsics
Mark the LoongArch intrinsics as inline(always)
This updates the rust-version file to e4fdb55.
Pull recent changes from https://github.com/rust-lang/rust via Josh. Upstream ref: rust-lang/rust@e4fdb55 Filtered ref: rust-lang/stdarch@ae05da8 Upstream diff: rust-lang/rust@eda4fc7...e4fdb55 This merge was created using https://github.com/rust-lang/josh-sync.
Rustc pull update
Basic miri store/load roundtrip
This commit removes unnecessary `transmute` calls to resolve clippy warnings.
loongarch: Remove unnecessary `transmute` calls
resolve: Introduce `(Local,Extern)Module` newtypes for local and external modules respectively Right now both `LocalModule` and `ExternModule` refer to the same `ModuleData`, but the module data for local and extern modules can potentially be made quite different, and we can specialize name lookup for both cases as an optimization. Declaration creation for local and external modules was already specialized as a part of the parallel import resolution work (see `define_local` and `define_extern`, rust-lang#145108 and previous PRs), because they have different properties with regards to ownership and synchronization.
…, r=mejrs Remove AttributeSafety from BUILTIN_ATTRIBUTES Encodes the expected attribute safety in the attribute parsers, rather than in `BUILTIN_ATTRIBUTES`, with the goal of removing `BUILTIN_ATTRIBUTES` soon. We can remove the old attribute safety logic already because unparsed attributes, just like the as of yet unparsed lint attributes, need to be safe. r? @jdonszelmann (or @mejrs if you feel like doing it, since you are in T-compiler now 🎉)
… r=GuillaumeGomez rustdoc: preserve `doc(cfg)` on locally re-exported type aliases When a type alias is locally re-exported from a private module (an implicit inline), rustdoc drops its `cfg` attributes because it treats it like a standard un-inlined re-export. Since type aliases have no inner fields to carry the `cfg` badge (unlike structs or enums), the portability info is lost entirely. This patch explicitly preserves the target's `cfg` metadata when the generated item is a `TypeAliasItem`, ensuring the portability badge renders correctly without breaking standard cross-crate re-export behavior. Fixes rust-lang#154921
changed the information provided by (mut x) to mut x (Fix 155030) When trying to change a value without using mut in a for loop, the recommendation for this change is incorrect, so I am correcting it. resolve: rust-lang#155030
….1, r=petrochenkov ImproperCTypes: Move erasing_region_normalisation into helper function This is "part 1/3 of 2/3 of 1/2" of the original pull request rust-lang#134697 (refactor plus overhaul of the ImproperCTypes family of lints) (all pulls of this series of pulls are supersets of the previous pulls. If this pull is "too small" to be worth the effort, you can instead look at the next in the series) This pull is a small internal change among the efforts to refactor the ImproperCTypes lints, by moving some "unwrapping" code (`cx.tcx.try_normalize_erasing_regions`) into a helper function. r? petrochenkov
tests/debuginfo/basic-stepping.rs: Remove FIXME related to ZSTs We don't consider it a bug that users can't break on initialization of some non-zero sized types (see rust-lang#153941 and linked discussions), so it does not make sense to consider it a bug that users can't break on initialization of some zero-sized types. Closes rust-lang#97083 r? compiler (see rust-lang#155352)
…etty, r=WaffleLapkin Rearrange `rustc_ast_pretty` `rustc_ast_pretty` has two modules, `pp::convenience` and `helpers`, that are small and silly. This PR eliminates them. Details in the individual commits. r? @WaffleLapkin
triagebot: notify on diagnostic attribute changes Did I get this right? 😆
…item, r=Kivooeo Use `box_new` diagnostic item for Box::new suggestions When look this part of code, I noticed this FIXME and fixed it :)
…r=petrochenkov Small refactor of `QueryJob::latch` method We can use `Option::get_or_insert_with` to avoid unwrapping there.
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 16, 2026
Rollup of 14 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
|
💔 Test for a7b4518 failed: CI. Failed job:
|
Contributor
|
☔ The latest upstream changes (presumably #155380) made this pull request unmergeable. Please resolve the merge conflicts. This pull request 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:
self.xtoxwhen fieldxmay be in format string #141633 (Suggest to bindself.xtoxwhen fieldxmay be in format string)avr#152980 (c-variadic: fix implementation onavr)core::char's documentation of casing issues (and fix a rustdoc bug) #154491 (Extendcore::char's documentation of casing issues (and fix a rustdoc bug))(Local,Extern)Modulenewtypes for local and external modules respectively #155242 (resolve: Introduce(Local,Extern)Modulenewtypes for local and external modules respectively)doc(cfg)on locally re-exported type aliases #154970 (rustdoc: preservedoc(cfg)on locally re-exported type aliases)rustc_ast_pretty#155383 (Rearrangerustc_ast_pretty)box_newdiagnostic item for Box::new suggestions #155386 (Usebox_newdiagnostic item for Box::new suggestions)QueryJob::latchmethod #155391 (Small refactor ofQueryJob::latchmethod)r? @ghost
Create a similar rollup