]> git.proxmox.com Git - rustc.git/blame - src/test/ui/reachable/expr_while.stderr
New upstream version 1.29.0+dfsg1
[rustc.git] / src / test / ui / reachable / expr_while.stderr
CommitLineData
cc61c64b 1error: unreachable statement
0531ce1d 2 --> $DIR/expr_while.rs:18:9
cc61c64b 3 |
0531ce1d 4LL | println!("Hello, world!");
cc61c64b
XL
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7note: lint level defined here
8 --> $DIR/expr_while.rs:14:9
9 |
0531ce1d 10LL | #![deny(unreachable_code)]
cc61c64b 11 | ^^^^^^^^^^^^^^^^
ff7c6d11 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)
cc61c64b
XL
13
14error: unreachable statement
8faf50e0 15 --> $DIR/expr_while.rs:33:9
cc61c64b 16 |
0531ce1d 17LL | println!("I am dead.");
cc61c64b
XL
18 | ^^^^^^^^^^^^^^^^^^^^^^^
19 |
ff7c6d11 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)
cc61c64b
XL
21
22error: unreachable statement
8faf50e0 23 --> $DIR/expr_while.rs:36:5
cc61c64b 24 |
0531ce1d 25LL | println!("I am, too.");
cc61c64b
XL
26 | ^^^^^^^^^^^^^^^^^^^^^^^
27 |
ff7c6d11 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)
cc61c64b 29
041b39d2 30error: aborting due to 3 previous errors
cc61c64b 31