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