]> git.lizzy.rs Git - rust.git/blob - src/test/ui/cycle-trait/cycle-trait-supertrait-indirect.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / cycle-trait / cycle-trait-supertrait-indirect.stderr
1 error[E0391]: cycle detected when computing the supertraits of `B`
2   --> $DIR/cycle-trait-supertrait-indirect.rs:17:10
3    |
4 LL | trait B: C {
5    |          ^
6    |
7 note: ...which requires computing the supertraits of `C`...
8   --> $DIR/cycle-trait-supertrait-indirect.rs:21:10
9    |
10 LL | trait C: B { }
11    |          ^
12    = note: ...which again requires computing the supertraits of `B`, completing the cycle
13 note: cycle used when computing the supertraits of `A`
14   --> $DIR/cycle-trait-supertrait-indirect.rs:14:10
15    |
16 LL | trait A: B {
17    |          ^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.