about summary refs log tree commit diff
path: root/tests/ui/generator/iterator-count.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/iterator-count.rs')
-rw-r--r--tests/ui/generator/iterator-count.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/generator/iterator-count.rs b/tests/ui/generator/iterator-count.rs
index 82cb75c2c85..322e56f8a8b 100644
--- a/tests/ui/generator/iterator-count.rs
+++ b/tests/ui/generator/iterator-count.rs
@@ -1,6 +1,6 @@
 // run-pass
 
-#![feature(generators, generator_trait)]
+#![feature(coroutines, coroutine_trait)]
 
 use std::marker::Unpin;
 use std::ops::{Coroutine, CoroutineState};
@@ -8,7 +8,7 @@ use std::pin::Pin;
 
 struct W<T>(T);
 
-// This impl isn't safe in general, but the generator used in this test is movable
+// This impl isn't safe in general, but the coroutine used in this test is movable
 // so it won't cause problems.
 impl<T: Coroutine<(), Return = ()> + Unpin> Iterator for W<T> {
     type Item = T::Yield;