1 error: unreachable statement
2 --> $DIR/issue-2150.rs:8:5
5 | --------- any code following this expression is unreachable
6 LL | for x in &v { i += 1; }
7 | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
9 note: lint level defined here
10 --> $DIR/issue-2150.rs:1:9
12 LL | #![deny(unreachable_code)]
14 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
16 error: aborting due to previous error