about summary refs log tree commit diff
path: root/tests/ui/coroutine/gen_block.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-23 11:34:27 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-10-27 13:05:48 +0000
commit638d2d6fc109620a45d15b22e7cb21292de6e45b (patch)
tree71e1645699034e48e0e775ec46a044af58691ca2 /tests/ui/coroutine/gen_block.rs
parentc892b28c021908d58763667453cb26c941bda745 (diff)
downloadrust-638d2d6fc109620a45d15b22e7cb21292de6e45b.tar.gz
rust-638d2d6fc109620a45d15b22e7cb21292de6e45b.zip
Feature gate `gen` blocks, even in 2024 edition
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 {};