]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0391]: cycle detected when computing the bounds for type parameter `T` |
0731742a | 2 | --> $DIR/issue-21177.rs:6:21 |
8faf50e0 XL |
3 | | |
4 | LL | fn foo<T: Trait<A = T::B>>() { } | |
5 | | ^^^^ | |
6 | | | |
94222f64 | 7 | = note: ...which immediately requires computing the bounds for type parameter `T` again |
f9f354fc | 8 | note: cycle used when computing explicit predicates of `foo` |
0731742a | 9 | --> $DIR/issue-21177.rs:6:21 |
8faf50e0 XL |
10 | | |
11 | LL | fn foo<T: Trait<A = T::B>>() { } | |
12 | | ^^^^ | |
13 | ||
dc9dc135 | 14 | error: aborting due to previous error |
8faf50e0 | 15 | |
dc9dc135 | 16 | For more information about this error, try `rustc --explain E0391`. |