fork/rust

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

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

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