fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
574 B17 linesraw
1error: unreachable statement
2  --> $DIR/unreachable-code-ret.rs:7:5
3   |
4LL |     return;
5   |     ------ any code following this expression is unreachable
6LL |     println!("Paul is dead");
7   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
8   |
9note: lint level defined here
10  --> $DIR/unreachable-code-ret.rs:3:9
11   |
12LL | #![deny(unreachable_code)]
13   |         ^^^^^^^^^^^^^^^^
14   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
15
16error: aborting due to previous error
17