summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coherence/auxiliary/coherence_lib.rs
blob: c22819831ab24a6b86a41bfbfec3d4b9fc3c98a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![crate_type="lib"]

pub trait Remote {
    fn foo(&self) { }
}

pub trait Remote1<T> {
    fn foo(&self, _t: T) { }
}

pub trait Remote2<T, U> {
    fn foo(&self, _t: T, _u: U) { }
}

pub struct Pair<T,U>(T,U);