rust/src/test/compile-fail/cap-clause-unresolved-move.rs
2012-07-09 10:27:13 -07:00

7 lines
103 B
Rust

// error-pattern:unresolved name
fn main() {
let x = 5;
let y = fn~(move z, move x) {
};
}