-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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/E0002.rs
Errror E0002 needs a label and help moved to a simple help, updating it from:
error[E0002]: non-exhaustive patterns: type std::option::Option<i32> is non-empty
--> src/test/compile-fail/E0002.rs:14:5
|
14 | match x { } //~ ERROR E0002
| ^^^^^^^^^^^
|
help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
--> src/test/compile-fail/E0002.rs:14:5
|
14 | match x { } //~ ERROR E0002
| ^^^^^^^^^^^
To:
error[E0002]: non-exhaustive patterns: type std::option::Option<i32> is non-empty
--> src/test/compile-fail/E0002.rs:14:5
|
14 | match x { } //~ ERROR E0002
| ^^^^^^^^^^^ not all cases are handled
|
= note: this may be fixed by possibly adding wildcards or more match arms.
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.