]> git.lizzy.rs Git - rust.git/blob - tests/ui/generator/async-generator-issue-67158.rs
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / ui / generator / async-generator-issue-67158.rs
1 #![feature(generators)]
2 // edition:2018
3 // Regression test for #67158.
4 fn main() {
5     async { yield print!(":C") }; //~ ERROR `async` generators are not yet supported
6 }