blob: 0e4f44ed3b5ec74be15a48c25ed550f832c9f613 [file]
//@ check-fail
#![allow(incomplete_features)]
#![feature(move_expr)]
fn main() {
let _c = || {
let x = 3;
move(x);
//~^ ERROR cannot use `x` in this move expression
};
}