]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/auxiliary/coherence_lib.rs
Merge commit 'ea199bacef07213dbe008841b89c450e3bf0c638' into rustfmt-sync
[rust.git] / src / test / ui / coherence / auxiliary / coherence_lib.rs
1 #![crate_type="lib"]
2
3 pub trait Remote {
4     fn foo(&self) { }
5 }
6
7 pub trait Remote1<T> {
8     fn foo(&self, _t: T) { }
9 }
10
11 pub trait Remote2<T, U> {
12     fn foo(&self, _t: T, _u: U) { }
13 }
14
15 pub struct Pair<T,U>(T,U);