fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: unreachable pattern 2 --> $DIR/patterns_same_crate.rs:52:9 3 | 4LL | Some(_x) => (), 5 | ^^^^^^^^ 6 | 7note: lint level defined here 8 --> $DIR/patterns_same_crate.rs:1:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: unreachable pattern 14 --> $DIR/patterns_same_crate.rs:57:9 15 | 16LL | Some(_x) => (), 17 | ^^^^^^^^ 18 19error: unreachable pattern 20 --> $DIR/patterns_same_crate.rs:61:15 21 | 22LL | while let PartiallyInhabitedVariants::Struct { x } = partially_inhabited_variant() { 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: unreachable pattern 26 --> $DIR/patterns_same_crate.rs:65:15 27 | 28LL | while let Some(_x) = uninhabited_struct() { 29 | ^^^^^^^^ 30 31error: unreachable pattern 32 --> $DIR/patterns_same_crate.rs:68:15 33 | 34LL | while let Some(_x) = uninhabited_tuple_struct() { 35 | ^^^^^^^^ 36 37error: aborting due to 5 previous errors 38