rust/src/test/run-pass/unused-move-capture.rs
Tim Chevalier 39d9c30a15 Remove code from parser that was awaiting snapshot
Remove old parser functions as well as support for old-style capture
clauses. Remove remaining old-style capture clauses.
2012-06-14 19:09:02 -07:00

6 lines
82 B
Rust

fn main() {
let x = ~1;
let lam_move = fn@(move x) { };
lam_move();
}