Skip to content

Remove TyCtxt::node_lint method and rustc_middle::lint_level function#153663

Merged
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
GuillaumeGomez:migrate-diag
Mar 11, 2026
Merged

Remove TyCtxt::node_lint method and rustc_middle::lint_level function#153663
rust-bors[bot] merged 5 commits intorust-lang:mainfrom
GuillaumeGomez:migrate-diag

Conversation

@GuillaumeGomez
Copy link
Member

Part of #153099.

With this PR, we can finally get rid of lint_level. \o/

r? @JonathanBrouwer

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler 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. labels Mar 10, 2026
Copy link
Contributor

@JonathanBrouwer JonathanBrouwer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with green ci after possibly addressing my comment

View changes since this review

@rust-log-analyzer

This comment has been minimized.

@JonathanBrouwer
Copy link
Contributor

@bors r+ rollup

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 10, 2026

📌 Commit 2765e4a has been approved by JonathanBrouwer

It is now in the queue for this repository.

🌲 The tree is currently closed for pull requests below priority 1000. This pull request will be tested once the tree is reopened.

@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 Mar 10, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Mar 10, 2026
…athanBrouwer

Remove `TyCtxt::node_lint` method and `rustc_middle::lint_level` function

Part of rust-lang#153099.

With this PR, we can finally get rid of `lint_level`. \o/

r? @JonathanBrouwer
rust-bors bot pushed a commit that referenced this pull request Mar 10, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #153560 (Introduce granular tidy_ctx's check in extra_checks)
 - #153666 (Add a regression test for #153599)
 - #153493 (Remove `FromCycleError` trait)
 - #153549 (tests/ui/binop: add annotations for reference rules)
 - #153641 (Move `Spanned`.)
 - #153663 (Remove `TyCtxt::node_lint` method and `rustc_middle::lint_level` function)
 - #153664 (Add test for #109804)
rust-bors bot pushed a commit that referenced this pull request Mar 11, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #153560 (Introduce granular tidy_ctx's check in extra_checks)
 - #153666 (Add a regression test for #153599)
 - #153493 (Remove `FromCycleError` trait)
 - #153549 (tests/ui/binop: add annotations for reference rules)
 - #153641 (Move `Spanned`.)
 - #153663 (Remove `TyCtxt::node_lint` method and `rustc_middle::lint_level` function)
 - #153664 (Add test for #109804)
rust-bors bot pushed a commit that referenced this pull request Mar 11, 2026
…uwer

Rollup of 7 pull requests

Successful merges:

 - #153560 (Introduce granular tidy_ctx's check in extra_checks)
 - #153666 (Add a regression test for #153599)
 - #153493 (Remove `FromCycleError` trait)
 - #153549 (tests/ui/binop: add annotations for reference rules)
 - #153641 (Move `Spanned`.)
 - #153663 (Remove `TyCtxt::node_lint` method and `rustc_middle::lint_level` function)
 - #153664 (Add test for #109804)
@rust-bors rust-bors bot merged commit 3ed43bb into rust-lang:main Mar 11, 2026
11 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 11, 2026
rust-timer added a commit that referenced this pull request Mar 11, 2026
Rollup merge of #153663 - GuillaumeGomez:migrate-diag, r=JonathanBrouwer

Remove `TyCtxt::node_lint` method and `rustc_middle::lint_level` function

Part of #153099.

With this PR, we can finally get rid of `lint_level`. \o/

r? @JonathanBrouwer
@GuillaumeGomez GuillaumeGomez deleted the migrate-diag branch March 11, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants