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

8 lines
94 B
Rust

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