-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
E0520 needs to be updated to new format #36112
Comments
The new form of the message is not quite accurate. You can either Maybe the message we want is more like one of these:
|
@nikomatsakis - I updated it based on your suggestions. Could probably stand another pass, but maybe good for now? |
@jonathandturner agreed good enough for now; I think I would maybe adopt something shorter in the header (like "not specializable") given that the note at the bottom spells out what that means |
but I could go either way |
Fixes rust-lang#36112. Part of rust-lang#35233. r? @jonathandturner
…thandturner Update E0520 to new error format Fixes rust-lang#36112. Part of rust-lang#35233. r? @jonathandturner
…thandturner Update E0520 to new error format Fixes rust-lang#36112. Part of rust-lang#35233. r? @jonathandturner
…thandturner Update E0520 to new error format Fixes rust-lang#36112. Part of rust-lang#35233. r? @jonathandturner
…thandturner Update E0520 to new error format Fixes rust-lang#36112. Part of rust-lang#35233. r? @jonathandturner
From: src/test/compile-fail/E0520.rs
E0520 needs a span_label, a span_note converted to a span_label, a note, and a new title, updating it from:
To:
The text was updated successfully, but these errors were encountered: