about summary refs log tree commit diff
path: root/tests/ui/associated-types/issue-20825-2.rs
blob: d0b6fff7e38b4dc34cb437167acfb608cae4e34a (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() {}