Skip to content

Rollup of 21 pull requests - #165178

Closed
JonathanBrouwer wants to merge 48 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-AjO9tyO
Closed

JonathanBrouwer wants to merge 48 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-AjO9tyO

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

ywxt and others added 30 commits September 21, 2026 09:16
When a format string is not a literal in the source, e.g. when it is
produced by `concat!`, the offsets of printf- and shell-style
specifiers are relative to the expanded string rather than to the
source. `check_foreign!` still used them to place a machine-applicable
suggestion, which could rewrite unrelated source text such as turning
`concat!` into `c{}cat!`, or ICE when the span landed inside a
multibyte character.

When the format string is not a source literal, explain the
translation in a note instead, e.g. "`%d` should be written as `{}`",
and don't emit the suggestion. For specifiers that cannot be
translated, point the note at the whole format string argument
instead of a span computed from those offsets; the output is the same
as before. The output for format strings written as literals is
unchanged.
These are always checked in attribute parsing
```
error: expected expression, found `let` statement
 --> issue-87291.rs:2:5
  |
2 | -   let a = opt1.map(|_| {
  | -   ^^^
  | |
  | expected an expression after this
  |
  = note: only supported directly in conditions of `if` and `while` expressions
```
By updating backtrace, curl, stacker. Also update flate2 and miniz_oxide
to avoid introducing a duplicate dependency.
fixup cranelift
This would allow more flexibility in how we implement getting randomness
in Redox OS by only requiring changes to relibc and randd. In addition
it reduces the amount of Redox specific code libstd uses.
Signed-off-by: Amirhossein Akhlaghpour <m9.akhlaghpoor@gmail.com>
…-perf, r=notriddle

rustdoc: Fix performance regression for private documented items

Should help with rust-lang#161362.

The idea is to not (doc) inline private reexports by default. That will save us a lot of `clean`ing for external items and for html pages generation.

r? ghost
…f, r=khyperia

Remove GenericArgRef

This removes `GenericArgsRef`, renaming it to `GenericArgs`. `GenericArgs` used to be an unsized version of `GenericArgsRef`, the reference being just a type alias, but really having access to this unsized type available was not necessary.

This also makes `GenericArgs` a tuple struct, giving us the possibility to change its representation in the future.

r? @khyperia

> [!NOTE]
> I've not used an LLM for any part of this PR, or any other PR I make. This includes any related work like research.
@rustbot rustbot added T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Oct 30, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3,test-aarch64-msvc-2

@rust-bors

rust-bors Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

📌 Commit f8b65ae has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 30, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 30, 2026
Rollup of 21 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
try-job: test-x86_64-gnu-llvm-22-3
try-job: test-aarch64-msvc-2
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-apple-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 30, 2026
@rust-bors

rust-bors Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

💔 Test for c02e8f7 failed: CI. Failed job:

@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 30, 2026
…uwer

Rollup of 21 pull requests

Successful merges:

 - #164851 (Add behavior tests for `Arc` and `Rc`)
 - #164989 (rustdoc: Fix performance regression for private documented items)
 - #165079 (Remove GenericArgRef)
 - #161781 (Don't emit InlineAsm terminator if input operand is `!`.)
 - #162754 (optimize large elements for slice rotating)
 - #163252 (Remove windows-targets dependency from the root workspace)
 - #163839 (Fix the floating point clobbers of RISC-V `clobber_abi`)
 - #165104 (Use getrandom instead of /scheme/rand on Redox OS)
 - #165132 (Implement `advance_back_by` on `Fuse`)
 - #165142 (Remove the unused generic Graphviz writer)
 - #163371 (Don't suggest replacing foreign format specifiers in `concat!` output)
 - #163802 (fix RegionEq direction in canonical query responses)
 - #163986 (omit unconditionally invoking crate level limits query)
 - #164920 (Point at prior token on `let` when expression is expected)
 - #164987 (use adt_async_drop_tys for nested ADTs in needs_async_drop)
 - #165061 (Use a fixed-length encoding for hash disambiguators in v0 symbols)
 - #165114 (use native interpreter impl for funnel shifts intrinsics)
 - #165119 (remove unnecessary fast path from borrowck)
 - #165122 (fix MaybeDangling validity logic for ZST at usize::MAX)
 - #165128 (Move `doc(keyword)` and `doc(attribute)` attributes checks from `rustc_passes` to `rustc_attr_parsing`)
 - #165129 (Fix ICE in prelude edition lint)

Failed merges:

 - #164981 (Reflection add TypeId::name)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-apple-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@rust-bors rust-bors Bot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Oct 30, 2026
@rust-bors

rust-bors Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 44b4d86 failed: CI. Failed job:

rust-bors Bot pushed a commit that referenced this pull request Oct 30, 2026
…uwer

Rollup of 7 perf-sensitive pull requests

Successful merges:

 - #163339 (MIR move elimination [5/6]: Storage reconstruction)
 - #163525 (Move lang item collection to the resolver)
 - #163928 (do not prefer trivially true candidates with `-Znext-solver` )
 - #164341 (Expand an early return case in `coerce_unsized`)
 - #164484 (Use adaptive sparse encoding for metadata tables)
 - #164607 (destringlyfy lint infrastructure)
 - #165160 (New solver opts for diesel (part 3))

> [!WARNING]
> This rollup conflicts with pending auto build #165178 and may need to be recreated if the pending build succeeds.
@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Oct 30, 2026
@rust-bors

rust-bors Bot commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 30, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 31, 2026
…uwer

Rollup of 7 perf-sensitive pull requests

Successful merges:

 - #163339 (MIR move elimination [5/6]: Storage reconstruction)
 - #163525 (Move lang item collection to the resolver)
 - #163928 (do not prefer trivially true candidates with `-Znext-solver` )
 - #164341 (Expand an early return case in `coerce_unsized`)
 - #164484 (Use adaptive sparse encoding for metadata tables)
 - #164607 (destringlyfy lint infrastructure)
 - #165160 (New solver opts for diesel (part 3))

> [!WARNING]
> This rollup conflicts with pending auto build #165178 and may need to be recreated if the pending build succeeds.
rust-bors Bot pushed a commit that referenced this pull request Oct 31, 2026
…uwer

Rollup of 7 perf-sensitive pull requests

Successful merges:

 - #163339 (MIR move elimination [5/6]: Storage reconstruction)
 - #163525 (Move lang item collection to the resolver)
 - #163928 (do not prefer trivially true candidates with `-Znext-solver` )
 - #164341 (Expand an early return case in `coerce_unsized`)
 - #164484 (Use adaptive sparse encoding for metadata tables)
 - #164607 (destringlyfy lint infrastructure)
 - #165160 (New solver opts for diesel (part 3))

> [!WARNING]
> This rollup conflicts with pending auto build #165178 and may need to be recreated if the pending build succeeds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.