We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc926f7 commit 224ddf8Copy full SHA for 224ddf8
tests/ui/coroutine/gen_block_panic.rs
@@ -1,5 +1,6 @@
1
//compile-flags: --edition 2024 -Zunstable-options
2
// run-pass
3
+// needs-unwind
4
#![feature(gen_blocks)]
5
6
fn main() {
tests/ui/coroutine/gen_block_panic.stderr
@@ -1,5 +1,5 @@
warning: unreachable statement
- --> $DIR/gen_block_panic.rs:9:9
+ --> $DIR/gen_block_panic.rs:10:9
|
LL | panic!("foo");
| ------------- any code following this expression is unreachable
0 commit comments