1 error: unreachable pattern
2 --> $DIR/uninhabited-patterns.rs:27:9
7 note: the lint level is defined here
8 --> $DIR/uninhabited-patterns.rs:6:9
10 LL | #![deny(unreachable_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: unreachable pattern
14 --> $DIR/uninhabited-patterns.rs:32:9
19 error: unreachable pattern
20 --> $DIR/uninhabited-patterns.rs:34:9
22 LL | Err(&[..]) => (),
25 error: unreachable pattern
26 --> $DIR/uninhabited-patterns.rs:41:9
28 LL | Err(Ok(_y)) => (),
31 error: unreachable pattern
32 --> $DIR/uninhabited-patterns.rs:44:15
34 LL | while let Some(_y) = foo() {
37 error: aborting due to 5 previous errors