rust/src/test/compile-fail/unique-unique-kind.rs

8 lines
99 B
Rust
Raw Normal View History

fn f<T: Send>(_i: T) {
}
fn main() {
let i = ~@100;
2012-09-19 00:44:46 -05:00
f(move i); //~ ERROR missing `send`
}