blob: c1944efab8beaa18f2ec5c53e114f95af83f4c16 [file] [log] [blame]
error: unreachable statement
--> $DIR/issue-2150.rs:18:5
|
LL | for x in &v { i += 1; }
| ^^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/issue-2150.rs:11:9
|
LL | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error