summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-2284.rs
blob: 6f2c958341b5e6e83934e97295c6b79e7520a2d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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() {
}