1 2 3 4 5 6
// error-pattern: not a sendable value fn main() { let x = @3u; let _f = fn~(y: uint) -> uint { ret *x+y; }; }