fork/rust

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

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

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