Closed
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.