-
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
E0072 needs to be updated to new format #35506
Comments
I'd like to work on this. |
@creativcoder - Looks like @circuitfox has already taken this one. There are some other free ones on the list if you're interested. |
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Aug 11, 2016
…t, r=jonathandturner E0072 update error format Part of rust-lang#35233 Fixes rust-lang#35506 r? @jonathandturner The bonus for this issue currently seems to be impossible to do reliably, as the compiler seems to lack span information for item names alone, like `Foo` in `struct Foo { ... }`. It would be possible to hack something together by computing span offsets, but that seems like a solution that would be begging for trouble. A proper solution to this would, of course, be to add span information to the right place (seems to be `rustc::hir::Item::name` but I may be wrong).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From: src/test/compile-fail/E0072.rs
Error E0072 needs a span_label, updating it from:
To:
Bonus: put the span on the name of the struct:
The text was updated successfully, but these errors were encountered: