2019-09-30 15:27:18 -05:00
|
|
|
error: unreachable statement
|
|
|
|
--> $DIR/unreachable-lint-1.rs:5:13
|
|
|
|
|
|
|
|
|
LL | return; bar().await;
|
|
|
|
| ------ ^^^^^^^^^^^^ unreachable statement
|
|
|
|
| |
|
|
|
|
| any code following this expression is unreachable
|
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2019-09-30 15:27:18 -05:00
|
|
|
--> $DIR/unreachable-lint-1.rs:2:9
|
|
|
|
|
|
|
|
|
LL | #![deny(unreachable_code)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2019-09-30 15:27:18 -05:00
|
|
|
|