fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
522 B17 linesraw
1error: unreachable statement
2  --> $DIR/closure-bang.rs:6:5
3   |
4LL |     x();
5   |     --- any code following this expression is unreachable
6LL |     println!("Foo bar");
7   |     ^^^^^^^^^^^^^^^^^^^ unreachable statement
8   |
9note: the lint level is defined here
10  --> $DIR/closure-bang.rs:1:9
11   |
12LL | #![deny(unreachable_code)]
13   |         ^^^^^^^^^^^^^^^^
14   = note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
15
16error: aborting due to previous error
17