]> git.lizzy.rs Git - rust.git/blob - src/test/ui/reachable/expr_again.stderr
Merge commit '8da837185714cefbb261e93e9846afb11c1dc60e' into sync-rustfmt-subtree
[rust.git] / src / test / ui / reachable / expr_again.stderr
1 error: unreachable statement
2   --> $DIR/expr_again.rs:8:9
3    |
4 LL |         continue;
5    |         -------- any code following this expression is unreachable
6 LL |         println!("hi");
7    |         ^^^^^^^^^^^^^^ unreachable statement
8    |
9 note: the lint level is defined here
10   --> $DIR/expr_again.rs:3:9
11    |
12 LL | #![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
16 error: aborting due to previous error
17