summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/inline_cross/auxiliary/issue-24183.rs
blob: e7a13acc6f864bd7cc41de40033c6d556ac275e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![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 {}