2011-11-18 05:39:20 -06:00
|
|
|
// error-pattern: copying a noncopyable value
|
2011-07-25 18:57:27 -05:00
|
|
|
|
2011-09-12 04:27:30 -05:00
|
|
|
fn lol(f: block()) -> block() { ret f; }
|
2011-08-19 17:16:48 -05:00
|
|
|
fn main() { let i = 8; let f = lol(block () { log_err i; }); f(); }
|