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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
171 B
Rust
Raw Normal View History

2023-10-19 16:46:28 -05:00
#![feature(coroutines)]
//@ edition:2018
// Regression test for #67158.
fn main() {
2023-10-19 16:46:28 -05:00
async { yield print!(":C") }; //~ ERROR `async` coroutines are not yet supported
}