Repository navigation
Rollup of 13 pull requests - #163879
Closed
JonathanBrouwer wants to merge 33 commits into
Closed
Rollup of 13 pull requests#163879JonathanBrouwer wants to merge 33 commits into
JonathanBrouwer wants to merge 33 commits into
Conversation
Claude Code loads AGENTS.md since 2.1.277, released September 18. See https://code.claude.com/docs/en/changelog#2-1-277.
…ethercote use the type name instead of `Self` in constructor paths again Fixes rust-lang#163800 by restoring `Substructure.type_ident` and using it instead of `Self` for constructor paths in `Clone` and `Default`'s expansions. r? @nnethercote
Remove CLAUDE.md Claude Code loads AGENTS.md since 2.1.277, released September 18. See https://code.claude.com/docs/en/changelog#2-1-277. r? @Turbo87
…, r=notriddle Add regression test for duplicated rustdoc search results between std and core Fixes rust-lang#131670. Issue was already fixed apparently, so adding a regression test to close the issue. r? @notriddle
…, r=folkertdev peel_transparent_wrappers only works on non-1ZST r? @folkertdev Cc @beetrees
…r=BoxyUwU,bit-aloo abby DSL: sanity checks on forall where clauses fixes rust-lang/project-assumptions-on-binders#43 took the opportunity to clean up a bit too, so the diff is a bit bigger than it strictly needs to be this PR enforces that the LHS of forall where clauses must be a placeholder (or toplevel param), an alias, or a lifetime also, after review, this PR now enforces that all implied bounds in where clauses are also explicitly present as well, enforcing that there's no sneaky bounds going on r? @BoxyUwU
… r=nnethercote perf:cache FFI safety results in improper_ctypes lint This PR cache FFI safety results in improper_ctypes lint . ImproperCTypesVisitor's cache field is recreated empty at every call site, so a struct type gets fully re-walked from scratch each time instead of once . The implementation here moves the cache onto ImproperCtypesLint, so it remembers types we already checked and found FFI-safe, so we don't check the same type again every time it shows up in another function. We only remember "safe" types, never "unsafe" ones. That way we never need to keep the actual type around, just a fingerprint of it.Thus it persists across a whole module worth of foreign items.
…tests, r=Urgau Move more `rustdoc-html` tests in the right location Follow-up of rust-lang#162372. r? @Urgau
…uppe cg_llvm: Avoid `as_c_char_ptr` in several places As noted in `rustc_codegen_llvm::ffi`: > Normally it's a good idea for Rust-side bindings to match the corresponding C-side function declarations as closely as possible. But when passing `&str` or `&[u8]` data as a pointer/length pair, it's more convenient to declare the Rust-side pointer as `*const c_uchar` instead of `*const c_char`. Both pointer types have the same ABI, and using `*const c_uchar` avoids the need for an extra cast from `*const u8` on the Rust side. The helper method `as_c_char_ptr` exists to make that extra cast more type-safe, but it's nicer to not need it all. In addition to making call sites a bit simpler, this adjustment also makes it harder to accidentally pass a nul-terminated string to a function expecting a pointer/length string, and vice-versa. There should be no change to compiler output.
…, r=folkertdev Add `has_reliable_f16b` for Arm Add the match arm for `has_reliable_f16b` for `Arch::Arm`. Through investigations in llvm/llvm-project#224867 there is decent enough support for Rusts `f16b` type on Arm targets. r? folkertdev
Member
Author
Contributor
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 6, 2026
Rollup of 13 pull requests try-job: dist-various-1 try-job: test-various try-job: test-x86_64-gnu-aux try-job: test-x86_64-msvc-1 try-job: test-aarch64-apple-1 try-job: test-aarch64-apple-2 try-job: test-x86_64-mingw-1 try-job: test-i686-msvc try-job: test-armhf-gnu
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Oct 6, 2026
…uwer Rollup of 13 pull requests Successful merges: - #163090 (Run LLDB debuginfo tests on `x86_64-pc-windows-msvc` in CI) - #163863 (use the type name instead of `Self` in constructor paths again) - #163864 (Remove CLAUDE.md) - #163877 (Add regression test for duplicated rustdoc search results between std and core) - #162000 (peel_transparent_wrappers only works on non-1ZST) - #163257 (abby DSL: sanity checks on forall where clauses) - #163348 (perf:cache FFI safety results in improper_ctypes lint) - #163768 (Move more `rustdoc-html` tests in the right location) - #163789 (cg_llvm: Avoid `as_c_char_ptr` in several places) - #163807 (Add `has_reliable_f16b` for Arm) - #163826 (Update books) - #163849 (ci: update to PowerShell 7.6.6) - #163870 (Add if-installed:auto:spellcheck to pre-push script)
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
|
💔 Test for 953943f failed: CI. Failed job:
|
Member
Author
|
@bors retry |
Contributor
|
This pull request was unapproved due to being closed. |
Contributor
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:
x86_64-pc-windows-msvcin CI #163090 (Run LLDB debuginfo tests onx86_64-pc-windows-msvcin CI)Selfin constructor paths again #163863 (use the type name instead ofSelfin constructor paths again)rustdoc-htmltests in the right location #163768 (Move morerustdoc-htmltests in the right location)as_c_char_ptrin several places #163789 (cg_llvm: Avoidas_c_char_ptrin several places)has_reliable_f16bfor Arm #163807 (Addhas_reliable_f16bfor Arm)r? @ghost
Create a similar rollup