rust/tests/ui/coroutine/async-coroutine-issue-67158.rs

7 lines
171 B
Rust

#![feature(coroutines)]
//@ edition:2018
// Regression test for #67158.
fn main() {
async { yield print!(":C") }; //~ ERROR `async` coroutines are not yet supported
}