rust/src/test/ui/non-exhaustive/non-exhaustive-match-nested.stderr
2018-12-25 21:08:33 -07:00

16 lines
626 B
Plaintext

error[E0004]: non-exhaustive patterns: `(Some(&[]), Err(_))` not covered
--> $DIR/non-exhaustive-match-nested.rs:7:11
|
LL | match (l1, l2) { //~ ERROR non-exhaustive patterns: `(Some(&[]), Err(_))` not covered
| ^^^^^^^^ pattern `(Some(&[]), Err(_))` not covered
error[E0004]: non-exhaustive patterns: `A(C)` not covered
--> $DIR/non-exhaustive-match-nested.rs:17:11
|
LL | match x { //~ ERROR non-exhaustive patterns: `A(C)` not covered
| ^ pattern `A(C)` not covered
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0004`.