1 2 3 4 5 6 7 8 9 10
// error-pattern:fail fn x(it: fn(int)) { let a = @0; it(1); } fn main() { x {|_x| fail; }; }