summaryrefslogtreecommitdiff
path: root/tests/ui/reachable/expr_again.stderr
blob: 5dec512ba5defc526c5679a84ffea7c29290e1e8 (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 1 previous error