]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-no-arms-unreachable-after.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / match / match-no-arms-unreachable-after.stderr
1 error: unreachable statement
2   --> $DIR/match-no-arms-unreachable-after.rs:8:5
3    |
4 LL |     match v { }
5    |     ----------- any code following this expression is unreachable
6 LL |     let x = 2;
7    |     ^^^^^^^^^^ unreachable statement
8    |
9 note: the lint level is defined here
10   --> $DIR/match-no-arms-unreachable-after.rs:2:9
11    |
12 LL | #![deny(unreachable_code)]
13    |         ^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16