Skip to content

Rollup of 5 pull requests#155483

Open
JonathanBrouwer wants to merge 12 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-9T12Udy
Open

Rollup of 5 pull requests#155483
JonathanBrouwer wants to merge 12 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-9T12Udy

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

DanielEScherzer and others added 12 commits April 13, 2026 14:52
…Lint`.

The end goal being to completely remove `AttributeLint`.
…jdonszelmann

Make `OnDuplicate::Error` the default for attributes

This makes two changes, in separate commits for reviewability:
- Changes all unstable attributes that are currently `OnDuplicate::Warn` to error.
- Makes `OnDuplicate::Error` the default and removes the explicit `ON_DUPLICATE` for ones that currently already error

r? @jdonszelmann
…t, r=JonathanBrouwer

Set up API to make it possible to pass closures instead of `AttributeLint`

Part of rust-lang#153099.

This PR sets up the base implementations needed to remove `AttributeLintKind` entirely and migrate two variants as examples.

r? @JonathanBrouwer
…-help, r=mati865

  Fix conflicting deref move suggestion for LazyLock patterns

fixes rust-lang#154826.

Rust was suggesting *V -> V for let (v,) = *V, which then triggered a follow-up error suggesting the opposite. This patch makes that case suggest borrowing (&*V) instead. Also handles destructuring assignment separately so we don’t emit a misleading &*... fix-it there.
…e-the, r=Zalathar

bootstrap.py: fix duplicated "the"
…-doc-broken-link, r=mati865

Fixed broken documentation link for method lookup in rustc_hir_typeck…
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Apr 18, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 18, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

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

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 18, 2026

📌 Commit 963d61f 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 Apr 18, 2026
@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Apr 18, 2026
Rollup of 5 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
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 18, 2026

☀️ Try build successful (CI)
Build commit: a91f50e (a91f50e24ef8dff5bccd238d0d2fa7c5f19c1581, parent: 7a38981b365e4c3672053b910fce9a14c6555ab9)

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 18, 2026

⌛ Testing commit 963d61f with merge 3142bea...

Workflow: https://github.com/rust-lang/rust/actions/runs/24605185324

rust-bors bot pushed a commit that referenced this pull request Apr 18, 2026
…uwer

Rollup of 5 pull requests

Successful merges:

 - #155308 (Make `OnDuplicate::Error` the default for attributes)
 - #154432 (Set up API to make it possible to pass closures instead of `AttributeLint`)
 - #154843 (  Fix conflicting deref move suggestion for LazyLock patterns)
 - #155262 (bootstrap.py: fix duplicated "the")
 - #155478 (Fixed broken documentation link for method lookup in rustc_hir_typeck…)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants