]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error: unreachable statement |
0731742a | 2 | --> $DIR/match-no-arms-unreachable-after.rs:8:5 |
8faf50e0 | 3 | | |
e1599b0c XL |
4 | LL | match v { } |
5 | | ----------- any code following this expression is unreachable | |
532ac7d7 | 6 | LL | let x = 2; |
e1599b0c | 7 | | ^^^^^^^^^^ unreachable statement |
8faf50e0 | 8 | | |
74b04a01 | 9 | note: the lint level is defined here |
0731742a | 10 | --> $DIR/match-no-arms-unreachable-after.rs:2:9 |
8faf50e0 XL |
11 | | |
12 | LL | #![deny(unreachable_code)] | |
13 | | ^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: aborting due to previous error | |
16 |