mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14 lines
154 B
Rust
14 lines
154 B
Rust
//@ run-pass
|
|
#![allow(dead_code)]
|
|
//@ pretty-expanded FIXME #23616
|
|
|
|
trait Send {
|
|
fn f(&self);
|
|
}
|
|
|
|
fn f<T:Send>(t: T) {
|
|
t.f();
|
|
}
|
|
|
|
pub fn main() {
|
|
}
|