diff options
Diffstat (limited to 'tests/ui/generator/async-generator-issue-67158.rs')
| -rw-r--r-- | tests/ui/generator/async-generator-issue-67158.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/generator/async-generator-issue-67158.rs b/tests/ui/generator/async-generator-issue-67158.rs index 8125a7a9bb6..420454656d4 100644 --- a/tests/ui/generator/async-generator-issue-67158.rs +++ b/tests/ui/generator/async-generator-issue-67158.rs @@ -1,6 +1,6 @@ -#![feature(generators)] +#![feature(coroutines)] // edition:2018 // Regression test for #67158. fn main() { - async { yield print!(":C") }; //~ ERROR `async` generators are not yet supported + async { yield print!(":C") }; //~ ERROR `async` coroutines are not yet supported } |
