rust/tests/ui/coroutine/gen_block_panic.stderr

13 lines
330 B
Plaintext

warning: unreachable statement
--> $DIR/gen_block_panic.rs:9:9
|
LL | panic!("foo");
| ------------- any code following this expression is unreachable
LL | yield 69;
| ^^^^^^^^^ unreachable statement
|
= note: `#[warn(unreachable_code)]` on by default
warning: 1 warning emitted