mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
15 lines
152 B
Rust
15 lines
152 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() {
|
|
}
|