rust/src/test/ui/error-codes/E0004-2.stderr

16 lines
488 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0004]: non-exhaustive patterns: type std::option::Option<i32> is non-empty
--> $DIR/E0004-2.rs:14:11
|
2018-02-22 18:42:32 -06:00
LL | match x { } //~ ERROR E0004
2018-02-07 21:35:35 -06:00
| ^
|
help: Please ensure that all possible cases are being handled; possibly adding wildcards or more match arms.
--> $DIR/E0004-2.rs:14:11
|
2018-02-22 18:42:32 -06:00
LL | match x { } //~ ERROR E0004
2018-02-07 21:35:35 -06:00
| ^
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0004"