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

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 {}