summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/issue-20825-2.rs
blob: b79a2973082791fd96eb6c021381437f738590be (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass
pub trait Subscriber {
    type Input;
}

pub trait Processor: Subscriber<Input = <Self as Processor>::Input> {
    type Input;
}

fn main() {}