fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unreachable pattern 2 --> $DIR/exhaustiveness-unreachable-pattern.rs:8:9 3 | 4LL | (1,) => {} 5 | ^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/exhaustiveness-unreachable-pattern.rs:2:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: unreachable pattern 14 --> $DIR/exhaustiveness-unreachable-pattern.rs:13:9 15 | 16LL | (2,) => {} 17 | ^^^^ 18 19error: unreachable pattern 20 --> $DIR/exhaustiveness-unreachable-pattern.rs:19:9 21 | 22LL | (1 | 2,) => {} 23 | ^^^^^^^^ 24 25error: unreachable pattern 26 --> $DIR/exhaustiveness-unreachable-pattern.rs:24:9 27 | 28LL | (1, 3) => {} 29 | ^^^^^^ 30 31error: unreachable pattern 32 --> $DIR/exhaustiveness-unreachable-pattern.rs:25:9 33 | 34LL | (1, 4) => {} 35 | ^^^^^^ 36 37error: unreachable pattern 38 --> $DIR/exhaustiveness-unreachable-pattern.rs:26:9 39 | 40LL | (2, 4) => {} 41 | ^^^^^^ 42 43error: unreachable pattern 44 --> $DIR/exhaustiveness-unreachable-pattern.rs:27:9 45 | 46LL | (2 | 1, 4) => {} 47 | ^^^^^^^^^^ 48 49error: unreachable pattern 50 --> $DIR/exhaustiveness-unreachable-pattern.rs:29:9 51 | 52LL | (1, 4 | 5) => {} 53 | ^^^^^^^^^^ 54 55error: unreachable pattern 56 --> $DIR/exhaustiveness-unreachable-pattern.rs:34:9 57 | 58LL | (Some(1),) => {} 59 | ^^^^^^^^^^ 60 61error: unreachable pattern 62 --> $DIR/exhaustiveness-unreachable-pattern.rs:35:9 63 | 64LL | (None,) => {} 65 | ^^^^^^^ 66 67error: unreachable pattern 68 --> $DIR/exhaustiveness-unreachable-pattern.rs:40:9 69 | 70LL | ((1..=4,),) => {} 71 | ^^^^^^^^^^^ 72 73error: unreachable pattern 74 --> $DIR/exhaustiveness-unreachable-pattern.rs:45:14 75 | 76LL | (1 | 1,) => {} 77 | ^ 78 79error: unreachable pattern 80 --> $DIR/exhaustiveness-unreachable-pattern.rs:52:15 81 | 82LL | | 0] => {} 83 | ^ 84 85error: unreachable pattern 86 --> $DIR/exhaustiveness-unreachable-pattern.rs:50:15 87 | 88LL | | 0 89 | ^ 90 91error: unreachable pattern 92 --> $DIR/exhaustiveness-unreachable-pattern.rs:60:10 93 | 94LL | [1 95 | ^ 96 97error: unreachable pattern 98 --> $DIR/exhaustiveness-unreachable-pattern.rs:66:14 99 | 100LL | Some(0 101 | ^ 102 103error: aborting due to 16 previous errors 104