2017-03-21 08:41:41 -05:00
|
|
|
error: unreachable statement
|
2018-01-21 02:44:41 -06:00
|
|
|
--> $DIR/expr_while.rs:18:9
|
2017-03-21 08:41:41 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | println!("Hello, world!");
|
2017-03-21 08:41:41 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
|
|
|
--> $DIR/expr_while.rs:14:9
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | #![deny(unreachable_code)]
|
2017-03-21 08:41:41 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-03-21 08:41:41 -05:00
|
|
|
|
|
|
|
error: unreachable statement
|
2018-07-19 07:15:43 -05:00
|
|
|
--> $DIR/expr_while.rs:33:9
|
2017-03-21 08:41:41 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | println!("I am dead.");
|
2017-03-21 08:41:41 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-03-21 08:41:41 -05:00
|
|
|
|
|
|
|
error: unreachable statement
|
2018-07-19 07:15:43 -05:00
|
|
|
--> $DIR/expr_while.rs:36:5
|
2017-03-21 08:41:41 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | println!("I am, too.");
|
2017-03-21 08:41:41 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-11-21 13:48:35 -06:00
|
|
|
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
|
2017-03-21 08:41:41 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-03-21 08:41:41 -05:00
|
|
|
|