]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-20825.rs
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / ui / associated-types / issue-20825.rs
1 pub trait Subscriber {
2     type Input;
3 }
4
5 pub trait Processor: Subscriber<Input = Self::Input> {
6     //~^ ERROR cycle detected
7     type Input;
8 }
9
10 fn main() {}