rust/src/test/run-pass/issue-1895.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

8 lines
89 B
Rust

fn main() {
let x = 1;
let y = fn@(move x) -> int {
x
}();
}