about summary refs log tree commit diff
path: root/tests/ui/coroutine/gen_block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/coroutine/gen_block.rs')
-rw-r--r--tests/ui/coroutine/gen_block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/coroutine/gen_block.rs b/tests/ui/coroutine/gen_block.rs
index fa502768236..c09fa2ae9be 100644
--- a/tests/ui/coroutine/gen_block.rs
+++ b/tests/ui/coroutine/gen_block.rs
@@ -1,6 +1,6 @@
 // revisions: e2024 none
 //[e2024] compile-flags: --edition 2024 -Zunstable-options
-#![cfg_attr(e2024, feature(coroutines))]
+#![cfg_attr(e2024, feature(gen_blocks))]
 
 fn main() {
     let x = gen {};