summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs')
-rw-r--r--tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs b/tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs
index 8064c3a88..c5dd281cb 100644
--- a/tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs
+++ b/tests/ui/lint/unused/issue-74883-unused-paren-baren-yield.rs
@@ -1,8 +1,8 @@
-#![feature(generator_trait)]
-#![feature(generators)]
+#![feature(coroutine_trait)]
+#![feature(coroutines)]
#![deny(unused_braces, unused_parens)]
-use std::ops::Generator;
+use std::ops::Coroutine;
use std::pin::Pin;
fn main() {