mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 22:05:14 +00:00
6 lines
121 B
Rust
6 lines
121 B
Rust
#![feature(coroutines)]
|
|
|
|
fn main() { yield; }
|
|
//~^ ERROR yield expression outside
|
|
//~| ERROR `yield` can only be used in
|