mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
15 lines
208 B
Rust
15 lines
208 B
Rust
#![crate_type = "lib"]
|
|
|
|
pub trait U/*: ?Sized */ {
|
|
fn modified(self) -> Self
|
|
where
|
|
Self: Sized
|
|
{
|
|
self
|
|
}
|
|
|
|
fn touch(&self)/* where Self: ?Sized */{}
|
|
}
|
|
|
|
pub trait S: Sized {}
|