]> git.proxmox.com Git - rustc.git/blame - src/test/ui/match/match-no-arms-unreachable-after.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / match / match-no-arms-unreachable-after.stderr
CommitLineData
8faf50e0 1error: unreachable statement
0731742a 2 --> $DIR/match-no-arms-unreachable-after.rs:8:5
8faf50e0 3 |
e1599b0c
XL
4LL | match v { }
5 | ----------- any code following this expression is unreachable
532ac7d7 6LL | let x = 2;
e1599b0c 7 | ^^^^^^^^^^ unreachable statement
8faf50e0 8 |
74b04a01 9note: the lint level is defined here
0731742a 10 --> $DIR/match-no-arms-unreachable-after.rs:2:9
8faf50e0
XL
11 |
12LL | #![deny(unreachable_code)]
13 | ^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16