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

trait A<X> {
    fn dummy(&self, arg: X);
}

trait B {
    type X;
    type Y: A<Self::X>;

    fn dummy(&self);
}

fn main () { }