mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 09:29: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);
|