fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
430 B16 linesraw
1error: unreachable statement
2  --> $DIR/match-no-arms-unreachable-after.rs:8:5
3   |
4LL |     match v { }
5   |     ----------- any code following this expression is unreachable
6LL |     let x = 2;
7   |     ^^^^^^^^^^ unreachable statement
8   |
9note: lint level defined here
10  --> $DIR/match-no-arms-unreachable-after.rs:2:9
11   |
12LL | #![deny(unreachable_code)]
13   |         ^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16