-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add 8 more error explanations. #25398
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
Conversation
This also updates the error messages for both. For E0066, it removes mention of "managed heap", which was removed in 8a91d33. For E0069, I just tweaked the wording to make it a bit more explicit.
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
An example of this error: | ||
|
||
``` | ||
use foo::FOO; // error, do `use foo::FOO as BAR` instead |
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.
Maybe this could be something like
use bar::foo;
fn foo() {}
mod bar {
pub fn foo() {}
}
(I just find the upper-case FOO
slightly strange.)
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.
Thanks, that's a much better.
@bors r+ rollup |
📌 Commit 7a5152e has been approved by |
@huonw I just added one more change (and squashed it into the previous commit). Do you need to approve again? (Sorry) |
Yep, any changes means a reapproval is needed (don't apologise, having more improvements is better than having less improvements). @bors r+ rollup |
📌 Commit 588777f has been approved by |
Adds explanations for E0053, E0066, E0069, E0251, E0252, E0255, E0256, E0368. cc rust-lang#24407
Adds explanations for E0053, E0066, E0069, E0251, E0252, E0255, E0256, E0368.
cc #24407