summaryrefslogtreecommitdiffstats
path: root/tests/ui/coroutine/gen_block_panic.stderr
blob: a0a6d1063c4588d0359d8a2c29e1f50065a1490e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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