]> git.proxmox.com Git - rustc.git/blame - tests/ui/associated-types/issue-20825.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / associated-types / issue-20825.stderr
CommitLineData
6a06907d 1error[E0391]: cycle detected when computing the super traits of `Processor` with associated type name `Input`
0731742a 2 --> $DIR/issue-20825.rs:5:1
8faf50e0
XL
3 |
4LL | pub trait Processor: Subscriber<Input = Self::Input> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
94222f64 7 = note: ...which immediately requires computing the super traits of `Processor` with associated type name `Input` again
353b0b11 8note: cycle used when computing the super predicates of `Processor`
0731742a
XL
9 --> $DIR/issue-20825.rs:5:1
10 |
11LL | pub trait Processor: Subscriber<Input = Self::Input> {
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8faf50e0
XL
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.