rust/src/test/compile-fail/cap-clause-unresolved-move.rs

7 lines
103 B
Rust
Raw Normal View History

// error-pattern:unresolved name
2011-12-17 23:12:30 -06:00
fn main() {
let x = 5;
let y = fn~(move z, move x) {
2011-12-17 23:12:30 -06:00
};
}