summary refs log tree commit diff
path: root/src/test/ui/coherence/auxiliary/coherence_lib.rs
blob: 9a5ec82430639abf381ad423b0f4789386d400b5 (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);