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