summaryrefslogtreecommitdiffstats
path: root/tests/ui/reachable/expr_again.stderr
blob: a3c54e135604c590ead4d20a55a609e5a7e7a36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: unreachable statement
  --> $DIR/expr_again.rs:8:9
   |
LL |         continue;
   |         -------- any code following this expression is unreachable
LL |         println!("hi");
   |         ^^^^^^^^^^^^^^ unreachable statement
   |
note: the lint level is defined here
  --> $DIR/expr_again.rs:3:9
   |
LL | #![deny(unreachable_code)]
   |         ^^^^^^^^^^^^^^^^
   = note: this error originates in the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error