-
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
E0025 needs to be updated to new format #35198
Comments
I'd like to handle this. |
@ChristopherDumas - thanks for volunteering! Currently @pcn signed up for this on the big error list, though I'm thinking it's time for us to have more people working on the errors since some people get busy. |
I'll work on this, but if @pcn gets to it first, I'll not make a pull request. |
This one is more complex than the others I've looked at. The current code in rust/src/librustc_typeck/check/_match.rs Lines 670 to 680 in 8eb12d9
Naively changing the span_note to a span_label seems to cause an issue and I digressed to read more about lifetimes, the borrow checker, etc. but haven't been able to translate that into a good understanding and a fix. @ChristopherDumas if you've already had experience with this, I'd love to learn from you. |
Freeing this one up as part of the final push for #35233. |
…urner Update E0025 to new error format Part of rust-lang#35233. Fixes rust-lang#35198. r? @jonathandturner
From: src/test/compile-fail/E0025.rs
E0025 needs span_label instead of span_note, changing it from:
To:
The text was updated successfully, but these errors were encountered: