mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
16 lines
213 B
Rust
16 lines
213 B
Rust
#![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);
|