1 error: unreachable expression
2 --> $DIR/unwarned-match-on-never.rs:10:5
5 | - any code following this expression is unreachable
6 LL | // But matches in unreachable code are warned.
8 | ^^^^^^^^^^ unreachable expression
10 note: the lint level is defined here
11 --> $DIR/unwarned-match-on-never.rs:1:9
13 LL | #![deny(unreachable_code)]
16 error: unreachable arm
17 --> $DIR/unwarned-match-on-never.rs:15:15
20 | -------- any code following this expression is unreachable
24 error: unreachable expression
25 --> $DIR/unwarned-match-on-never.rs:21:5
28 | ------ any code following this expression is unreachable
32 | |_____^ unreachable expression
34 error: aborting due to 3 previous errors