Skip to content

Conversation

@xonx4l
Copy link
Contributor

@xonx4l xonx4l commented Nov 7, 2025

This PR merge E0412 into E0425 as both mean the same thing to users ,as discussed in #148558.

@rustbot
Copy link
Collaborator

rustbot commented Nov 7, 2025

Some changes occurred in src/tools/clippy

cc @rust-lang/clippy

This PR modifies tests/ui/issues/. If this PR is adding new tests to tests/ui/issues/,
please refrain from doing so, and instead add it to more descriptive subdirectories.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Nov 7, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 7, 2025

jieyouxu is currently at their maximum review capacity.
They may take a while to respond.

// Thus (since we're in expression-position at this point), not to
// confuse the user, we want to keep the *message* from E0433 (so
// `parent_err`), but we want *hints* from E0412 (so `err`).
// `parent_err`), but we want *hints* from the unified E0425 (so `err`).
Copy link
Contributor

@mu001999 mu001999 Nov 8, 2025

Choose a reason for hiding this comment

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

Why not just E0425 here

@@ -1,64 +1,6 @@
A used type name is not in scope.
This error code is no longer emitted by the compiler.
Copy link
Contributor

Choose a reason for hiding this comment

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

Add note on the top is good enough, see E0001.md for an example.

@jieyouxu
Copy link
Member

jieyouxu commented Nov 8, 2025

@rustbot reroll

@rustbot rustbot assigned madsmtm and unassigned jieyouxu Nov 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-clippy Relevant to the Clippy team. 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. 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.

5 participants