rust/tests/rustdoc/inline_cross/auxiliary/issue-24183.rs

15 lines
208 B
Rust
Raw Normal View History

#![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 {}