fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
492 B17 linesraw
1error: unreachable expression
2  --> $DIR/expr_repeat.rs:9:25
3   |
4LL |     let x: [usize; 2] = [return; 2];
5   |                         ^------^^^^
6   |                         ||
7   |                         |any code following this expression is unreachable
8   |                         unreachable expression
9   |
10note: the lint level is defined here
11  --> $DIR/expr_repeat.rs:4:9
12   |
13LL | #![deny(unreachable_code)]
14   |         ^^^^^^^^^^^^^^^^
15
16error: aborting due to previous error
17