Uh oh!
There was an error while loading. Please reload this page.
Cleanup unused diagnostic emission methods - #153452
Merged
Merged
Conversation
rustbot
commented
Mar 5, 2026
Collaborator
HIR ty lowering was modified cc @fmease |
rustbot
commented
Mar 5, 2026
Collaborator
|
This comment has been minimized.
This comment has been minimized.
JonathanBrouwer
requested changes
Mar 5, 2026
Uh oh!
There was an error while loading. Please reload this page.
GuillaumeGomezforce-pushed
the
migrate-diag
branch
from
March 5, 2026 19:50
9182eab to
9dfb21cCompare
This comment has been minimized.
This comment has been minimized.
GuillaumeGomezforce-pushed
the
migrate-diag
branch
from
March 5, 2026 22:53
9dfb21c to
c98094bComparerustbot
commented
Mar 5, 2026
Collaborator
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
GuillaumeGomez
commented
Mar 5, 2026
MemberAuthor
PR is not ready, we need to figure out why the tracking is currently broken in clippy: You can run this (specific) test with: |
This comment has been minimized.
This comment has been minimized.
JonathanBrouwerforce-pushed
the
migrate-diag
branch
from
March 6, 2026 14:11
6ab577a to
6c0ae27CompareJonathanBrouwerforce-pushed
the
migrate-diag
branch
from
March 6, 2026 14:16
6c0ae27 to
8d96e60CompareJonathanBrouwer
commented
Mar 6, 2026
Member
r=me if ci green & you agree with my commit |
This comment has been minimized.
This comment has been minimized.
GuillaumeGomez
commented
Mar 6, 2026
MemberAuthor
@bors r=JonathanBrouwer rollup |
Contributor
3 tasks
rust-borsBot
pushed a commit
that referenced
this pull request
Mar 6, 2026
…uwer Rollup of 14 pull requests Successful merges: - #153466 (`rust-analyzer` subtree update) - #151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - #152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - #153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - #153485 (libcore float tests: replace macro shadowing by const-compatible macro) - #153495 (Fix ICE in `offset_of!` error recovery) - #152040 (Do not emit ConstEvaluatable goals if type-const) - #152741 (Suppress invalid suggestions in destructuring assignment) - #153189 (refactor: move `check_align` to `parse_alignment`) - #153230 (Roll rustfmt reviewers for in-tree rustfmt) - #153445 (Consider try blocks as block-like for overflowed expr) - #153452 (Cleanup unused diagnostic emission methods) - #153476 (bootstrap.py: fix typo "parallle") - #153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
Uh oh!
There was an error while loading. Please reload this page.
rust-timer added a commit
that referenced
this pull request
Mar 6, 2026
Rollup merge of #153452 - GuillaumeGomez:migrate-diag, r=JonathanBrouwer Cleanup unused diagnostic emission methods Part of #153099. To remove `lint_level`, we need to remove all functions calling it. One of them is `TyCtxt::node_span_lint`, so removing it. r? @JonathanBrouwer
github-actionsBot
pushed a commit
to rust-lang/rust-analyzer
that referenced
this pull request
Mar 9, 2026
…uwer Rollup of 14 pull requests Successful merges: - rust-lang/rust#153466 (`rust-analyzer` subtree update) - rust-lang/rust#151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - rust-lang/rust#152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - rust-lang/rust#153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - rust-lang/rust#153485 (libcore float tests: replace macro shadowing by const-compatible macro) - rust-lang/rust#153495 (Fix ICE in `offset_of!` error recovery) - rust-lang/rust#152040 (Do not emit ConstEvaluatable goals if type-const) - rust-lang/rust#152741 (Suppress invalid suggestions in destructuring assignment) - rust-lang/rust#153189 (refactor: move `check_align` to `parse_alignment`) - rust-lang/rust#153230 (Roll rustfmt reviewers for in-tree rustfmt) - rust-lang/rust#153445 (Consider try blocks as block-like for overflowed expr) - rust-lang/rust#153452 (Cleanup unused diagnostic emission methods) - rust-lang/rust#153476 (bootstrap.py: fix typo "parallle") - rust-lang/rust#153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
flip1995 pushed a commit
to flip1995/rust-clippy
that referenced
this pull request
Mar 21, 2026
…uwer Rollup of 14 pull requests Successful merges: - rust-lang/rust#153466 (`rust-analyzer` subtree update) - rust-lang/rust#151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - rust-lang/rust#152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - rust-lang/rust#153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - rust-lang/rust#153485 (libcore float tests: replace macro shadowing by const-compatible macro) - rust-lang/rust#153495 (Fix ICE in `offset_of!` error recovery) - rust-lang/rust#152040 (Do not emit ConstEvaluatable goals if type-const) - rust-lang/rust#152741 (Suppress invalid suggestions in destructuring assignment) - rust-lang/rust#153189 (refactor: move `check_align` to `parse_alignment`) - rust-lang/rust#153230 (Roll rustfmt reviewers for in-tree rustfmt) - rust-lang/rust#153445 (Consider try blocks as block-like for overflowed expr) - rust-lang/rust#153452 (Cleanup unused diagnostic emission methods) - rust-lang/rust#153476 (bootstrap.py: fix typo "parallle") - rust-lang/rust#153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…rcote HIR ty lowering: Move some things into submodules By commit: 1. Move `compute_object_lifetime_bound` into submodule `dyn_trait` since it's only used there unsurprisingly 2. Move a `impl Diagnostic for AmbiguousAssocItem` into submodule `errors` and rename the diagnostic struct * For what it represents, it was way too prominent right at the start of `lower_type_relative_path` which didn't use to be the case prior to PR rust-lang#153452 3. Move a distractingly lengthy "error builder" into a new fn `report_ambiguous_assoc_item` in submodule `errors` * Since we unconditionally `return Err(_)` after calling this new function, we fix a debug assertion (see commit message & description of added UI test for details) Fixesrust-lang#139387
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…rcote HIR ty lowering: Move some things into submodules By commit: 1. Move `compute_object_lifetime_bound` into submodule `dyn_trait` since it's only used there unsurprisingly 2. Move a `impl Diagnostic for AmbiguousAssocItem` into submodule `errors` and rename the diagnostic struct * For what it represents, it was way too prominent right at the start of `lower_type_relative_path` which didn't use to be the case prior to PR rust-lang#153452 3. Move a distractingly lengthy "error builder" into a new fn `report_ambiguous_assoc_item` in submodule `errors` * Since we unconditionally `return Err(_)` after calling this new function, we fix a debug assertion (see commit message & description of added UI test for details) Fixesrust-lang#139387
JonathanBrouwer added a commit
to JonathanBrouwer/rust
that referenced
this pull request
May 30, 2026
…rcote HIR ty lowering: Move some things into submodules By commit: 1. Move `compute_object_lifetime_bound` into submodule `dyn_trait` since it's only used there unsurprisingly 2. Move a `impl Diagnostic for AmbiguousAssocItem` into submodule `errors` and rename the diagnostic struct * For what it represents, it was way too prominent right at the start of `lower_type_relative_path` which didn't use to be the case prior to PR rust-lang#153452 3. Move a distractingly lengthy "error builder" into a new fn `report_ambiguous_assoc_item` in submodule `errors` * Since we unconditionally `return Err(_)` after calling this new function, we fix a debug assertion (see commit message & description of added UI test for details) Fixesrust-lang#139387
rust-timer added a commit
that referenced
this pull request
May 30, 2026
Rollup merge of #157027 - fmease:hirtylo-mv-things, r=nnethercote HIR ty lowering: Move some things into submodules By commit: 1. Move `compute_object_lifetime_bound` into submodule `dyn_trait` since it's only used there unsurprisingly 2. Move a `impl Diagnostic for AmbiguousAssocItem` into submodule `errors` and rename the diagnostic struct * For what it represents, it was way too prominent right at the start of `lower_type_relative_path` which didn't use to be the case prior to PR #153452 3. Move a distractingly lengthy "error builder" into a new fn `report_ambiguous_assoc_item` in submodule `errors` * Since we unconditionally `return Err(_)` after calling this new function, we fix a debug assertion (see commit message & description of added UI test for details) Fixes#139387
ghaaj pushed a commit
to ghaaj/polygrammar
that referenced
this pull request
Aug 7, 2026
…uwer Rollup of 14 pull requests Successful merges: - rust-lang/rust#153466 (`rust-analyzer` subtree update) - rust-lang/rust#151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - rust-lang/rust#152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - rust-lang/rust#153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - rust-lang/rust#153485 (libcore float tests: replace macro shadowing by const-compatible macro) - rust-lang/rust#153495 (Fix ICE in `offset_of!` error recovery) - rust-lang/rust#152040 (Do not emit ConstEvaluatable goals if type-const) - rust-lang/rust#152741 (Suppress invalid suggestions in destructuring assignment) - rust-lang/rust#153189 (refactor: move `check_align` to `parse_alignment`) - rust-lang/rust#153230 (Roll rustfmt reviewers for in-tree rustfmt) - rust-lang/rust#153445 (Consider try blocks as block-like for overflowed expr) - rust-lang/rust#153452 (Cleanup unused diagnostic emission methods) - rust-lang/rust#153476 (bootstrap.py: fix typo "parallle") - rust-lang/rust#153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
flip1995 pushed a commit
to flip1995/rust-clippy
that referenced
this pull request
Aug 17, 2026
…uwer Rollup of 14 pull requests Successful merges: - rust-lang/rust#153466 (`rust-analyzer` subtree update) - rust-lang/rust#151280 (Fix incorrect trailing comma suggested in no_accessible_fields) - rust-lang/rust#152593 (Box in `ValTreeKind::Branch(Box<[I::Const]>)` changed to `List`) - rust-lang/rust#153174 (std: add wasm64 to sync::Once and thread_parking atomics cfg guards) - rust-lang/rust#153485 (libcore float tests: replace macro shadowing by const-compatible macro) - rust-lang/rust#153495 (Fix ICE in `offset_of!` error recovery) - rust-lang/rust#152040 (Do not emit ConstEvaluatable goals if type-const) - rust-lang/rust#152741 (Suppress invalid suggestions in destructuring assignment) - rust-lang/rust#153189 (refactor: move `check_align` to `parse_alignment`) - rust-lang/rust#153230 (Roll rustfmt reviewers for in-tree rustfmt) - rust-lang/rust#153445 (Consider try blocks as block-like for overflowed expr) - rust-lang/rust#153452 (Cleanup unused diagnostic emission methods) - rust-lang/rust#153476 (bootstrap.py: fix typo "parallle") - rust-lang/rust#153483 (Preserve parentheses around `Fn` trait bounds in pretty printer)
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 freeto 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.
Part of #153099.
To remove
lint_level, we need to remove all functions calling it. One of them isTyCtxt::node_span_lint, so removing it.r? @JonathanBrouwer