Files
rust/tests/ui/coroutine/gen_block_panic.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
359 B
Plaintext
Raw Normal View History

warning: unreachable statement
--> $DIR/gen_block_panic.rs:11:9
|
LL | panic!("foo");
| ------------- any code following this expression is unreachable
LL | yield 69;
| ^^^^^^^^^ unreachable statement
|
2025-04-28 13:47:25 +02:00
= note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
warning: 1 warning emitted