2017-12-10 13:47:55 -06:00
|
|
|
#![crate_type="lib"]
|
|
|
|
|
|
|
|
pub trait Remote {
|
|
|
|
fn foo(&self) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
pub trait Remote1<T> {
|
2019-09-22 05:59:10 -05:00
|
|
|
fn foo(&self, _t: T) { }
|
2017-12-10 13:47:55 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
pub trait Remote2<T, U> {
|
2019-09-22 05:59:10 -05:00
|
|
|
fn foo(&self, _t: T, _u: U) { }
|
2013-03-06 21:09:17 -06:00
|
|
|
}
|
2011-06-02 16:03:17 -05:00
|
|
|
|
2017-12-10 13:47:55 -06:00
|
|
|
pub struct Pair<T,U>(T,U);
|