Update E0205 to the new error format#35468
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @jonathandturner (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
|
Looks good! @bors r+ rollup |
|
📌 Commit 0b248f1 has been approved by |
Update E0205 to the new error format Part of rust-lang#35233 Addresses rust-lang#35382 "r? @jonathandturner
|
@jonathandturner how could I shrink the span label to only cover |
|
It's going to be different for areas in the compiler, but you can get some ideas from https://github.com/rust-lang/rust/pull/35454/files and https://github.com/rust-lang/rust/pull/35372/files |
Shrink E0205 span label to the trait being implemented Part of rust-lang#35233. Extension of rust-lang#35468. Closes rust-lang#35382. r? @GuillaumeGomez
Shrink E0205 span label to the trait being implemented Part of rust-lang#35233. Extension of rust-lang#35468. Closes rust-lang#35382. r? @GuillaumeGomez
Part of #35233
Addresses #35382
"r? @jonathandturner