E0326 needs to be updated to new format #35335
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
From: src/test/compile-fail/associated-const-impl-wrong-type.rs
Just a "bonus" or two for this one. E0326 already uses the new format, but it isn't getting as much benefit as it could. Here, also show the conflicting part of the trait, so updating it from:
To:
If we really wanted to get fancy, we could narrow the spans on the type itself:
The text was updated successfully, but these errors were encountered: