summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-19129-1.rs
blob: 03a9691018ae1180349e8e78618435e561476790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check-pass
// pretty-expanded FIXME #23616

trait Trait<Input> {
    type Output;

    fn method() -> <Self as Trait<Input>>::Output;
}

impl<T> Trait<T> for () {
    type Output = ();

    fn method() {}
}

fn main() {}