about summary refs log tree commit diff
path: root/tests/ui/generator/control-flow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/control-flow.rs')
-rw-r--r--tests/ui/generator/control-flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/generator/control-flow.rs b/tests/ui/generator/control-flow.rs
index 46c21263cc2..709b135b2ee 100644
--- a/tests/ui/generator/control-flow.rs
+++ b/tests/ui/generator/control-flow.rs
@@ -3,7 +3,7 @@
 // revisions: default nomiropt
 //[nomiropt]compile-flags: -Z mir-opt-level=0
 
-#![feature(generators, generator_trait)]
+#![feature(coroutines, coroutine_trait)]
 
 use std::marker::Unpin;
 use std::ops::{CoroutineState, Coroutine};