1 2 3 4 5 6 7 8 9 10 11
// error-pattern:fail fn f(a: @int) { fail; } fn main() { let b = @0; let g = {|move b|f(b)}; g(); }