blob: 881c00d32aa111782822a86695afbff0688c379e [file]
#![allow(incomplete_features)]
#![feature(move_expr)]
fn main() {
let _ = move(String::from("nope"));
//~^ ERROR `move(expr)` is only supported in closures, `async`, `gen`, and `async gen` blocks
}