]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-type-bounds/ambiguous-associated-type2.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / associated-type-bounds / ambiguous-associated-type2.stderr
CommitLineData
6a06907d
XL
1error[E0391]: cycle detected when computing the super traits of `Baz` with associated type name `Item`
2 --> $DIR/ambiguous-associated-type2.rs:9:1
3 |
4LL | trait Baz: Foo + Bar<Self::Item> {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: ...which again requires computing the super traits of `Baz` with associated type name `Item`, completing the cycle
8note: cycle used when computing the super traits of `Baz`
9 --> $DIR/ambiguous-associated-type2.rs:9:1
10 |
11LL | trait Baz: Foo + Bar<Self::Item> {}
12 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.