rust/src/test/compile-fail/unique-unique-kind.rs
2012-10-12 20:43:37 -07:00

8 lines
99 B
Rust

fn f<T: Send>(_i: T) {
}
fn main() {
let i = ~@100;
f(move i); //~ ERROR missing `send`
}