]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-2150.stderr
Rollup merge of #84083 - ltratt:threadid_doc_tweak, r=dtolnay
[rust.git] / src / test / ui / issues / issue-2150.stderr
1 error: unreachable statement
2   --> $DIR/issue-2150.rs:8:5
3    |
4 LL |     panic!();
5    |     -------- any code following this expression is unreachable
6 LL |     for x in &v { i += 1; }
7    |     ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
8    |
9 note: the lint level is defined here
10   --> $DIR/issue-2150.rs:1:9
11    |
12 LL | #![deny(unreachable_code)]
13    |         ^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16