rust/tests/ui/coroutine/gen_block_panic.stderr
2023-10-30 16:32:53 +00:00

13 lines
331 B
Plaintext

warning: unreachable statement
--> $DIR/gen_block_panic.rs:10: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