-
Notifications
You must be signed in to change notification settings - Fork 14k
Merge E0412 into E0425 #148678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Merge E0412 into E0425 #148678
Conversation
|
Some changes occurred in src/tools/clippy cc @rust-lang/clippy This PR modifies |
|
|
| // 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`). |
There was a problem hiding this comment.
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. | |||
There was a problem hiding this comment.
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.
|
@rustbot reroll |
This PR merge E0412 into E0425 as both mean the same thing to users ,as discussed in #148558.