-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
Description
From: src/test/compile-fail/E0004.rs
E0004 needs a span_label, taking it from:
error[E0004]: non-exhaustive patterns: `HastaLaVistaBaby` not covered
--> src/test/compile-fail/E0004.rs:19:5
|
19 | match x { //~ ERROR E0004
| ^
to:
error[E0004]: non-exhaustive patterns: `HastaLaVistaBaby` not covered
--> src/test/compile-fail/E0004.rs:19:5
|
19 | match x { //~ ERROR E0004
| ^ pattern `HastaLaVistaBaby` not covered
Bonus: We may want to update the span that this error uses as well to point at something other than the beginning of the match.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.