]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-2150.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-2150.stderr
CommitLineData
8faf50e0 1error: unreachable statement
0731742a 2 --> $DIR/issue-2150.rs:8:5
8faf50e0 3 |
e1599b0c 4LL | panic!();
c295e0f8 5 | -------- any code following this expression is unreachable
8faf50e0 6LL | for x in &v { i += 1; }
e1599b0c 7 | ^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
8faf50e0 8 |
74b04a01 9note: the lint level is defined here
0731742a 10 --> $DIR/issue-2150.rs:1:9
8faf50e0
XL
11 |
12LL | #![deny(unreachable_code)]
13 | ^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16