//@ run-rustfix
#![feature(coroutines, gen_blocks, stmt_expr_attributes)]
fn main() {
let _ = || yield;
//~^ ERROR `yield` can only be used
}