rust/tests/ui/coroutine/async-coroutine-issue-67158.rs
2024-02-16 20:02:50 +00:00

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
}