2018-07-15 14:11:54 -07:00
|
|
|
error[E0391]: cycle detected when computing the bounds for type parameter `T`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21177.rs:6:21
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | fn foo<T: Trait<A = T::B>>() { }
|
|
|
|
| ^^^^
|
|
|
|
|
|
|
|
|
= note: ...which again requires computing the bounds for type parameter `T`, completing the cycle
|
|
|
|
note: cycle used when processing `foo`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/issue-21177.rs:6:21
|
2018-07-15 14:11:54 -07:00
|
|
|
|
|
|
|
|
LL | fn foo<T: Trait<A = T::B>>() { }
|
|
|
|
| ^^^^
|
|
|
|
|
2019-04-05 13:22:13 +02:00
|
|
|
error: aborting due to previous error
|
2018-07-15 14:11:54 -07:00
|
|
|
|
2019-04-05 13:22:13 +02:00
|
|
|
For more information about this error, try `rustc --explain E0391`.
|