E0029 needs to be updated to new format #35201
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/E0029.rs
The E0029 error needs a span_label, taking it from:
to:
Bonus: The start type and end type should probably be added as notes to the error rather than part of the main message text, something like:
The text was updated successfully, but these errors were encountered: