1 error[E0004]: non-exhaustive patterns: `(Some(&[]), Err(_))` not covered
2 --> $DIR/non-exhaustive-match-nested.rs:5:11
5 | ^^^^^^^^ pattern `(Some(&[]), Err(_))` not covered
7 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8 = note: the matched value is of type `(Option<&[T]>, Result<&[T], ()>)`
10 error[E0004]: non-exhaustive patterns: `A(C)` not covered
11 --> $DIR/non-exhaustive-match-nested.rs:15:11
13 LL | enum T { A(U), B }
20 | ^ pattern `A(C)` not covered
22 = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
23 = note: the matched value is of type `T`
25 error: aborting due to 2 previous errors
27 For more information about this error, try `rustc --explain E0004`.