]> git.lizzy.rs Git - rust.git/blob - src/test/ui/reachable/expr_while.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / reachable / expr_while.stderr
1 error: unreachable statement
2   --> $DIR/expr_while.rs:18:9
3    |
4 LL |         println!("Hello, world!");
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/expr_while.rs:14:9
9    |
10 LL | #![deny(unreachable_code)]
11    |         ^^^^^^^^^^^^^^^^
12    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
13
14 error: unreachable statement
15   --> $DIR/expr_while.rs:33:9
16    |
17 LL |         println!("I am dead.");
18    |         ^^^^^^^^^^^^^^^^^^^^^^^
19    |
20    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
21
22 error: unreachable statement
23   --> $DIR/expr_while.rs:36:5
24    |
25 LL |     println!("I am, too.");
26    |     ^^^^^^^^^^^^^^^^^^^^^^^
27    |
28    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
29
30 error: aborting due to 3 previous errors
31