1 2 3 4 5 6 7 8 9 10 11 12 13
//@ run-pass #![allow(dead_code)] trait Send { fn f(&self); } fn f<T:Send>(t: T) { t.f(); } pub fn main() { }