fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unreachable pattern 2 --> $DIR/uninhabited-patterns.rs:27:9 3 | 4LL | &[..] => (), 5 | ^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/uninhabited-patterns.rs:6:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: unreachable pattern 14 --> $DIR/uninhabited-patterns.rs:32:9 15 | 16LL | Ok(box _) => (), 17 | ^^^^^^^^^ 18 19error: unreachable pattern 20 --> $DIR/uninhabited-patterns.rs:34:9 21 | 22LL | Err(&[..]) => (), 23 | ^^^^^^^^^^ 24 25error: unreachable pattern 26 --> $DIR/uninhabited-patterns.rs:41:9 27 | 28LL | Err(Ok(_y)) => (), 29 | ^^^^^^^^^^^ 30 31error: unreachable pattern 32 --> $DIR/uninhabited-patterns.rs:44:15 33 | 34LL | while let Some(_y) = foo() { 35 | ^^^^^^^^ 36 37error: aborting due to 5 previous errors 38