2018-04-15 16:21:00 -05:00
|
|
|
error[E0391]: cycle detected when computing the supertraits of `t1`
|
2017-12-10 13:47:55 -06:00
|
|
|
--> $DIR/issue-12511.rs:11:1
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | trait t1 : t2 {
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
2018-04-15 16:21:00 -05:00
|
|
|
note: ...which requires computing the supertraits of `t2`...
|
|
|
|
--> $DIR/issue-12511.rs:15:1
|
|
|
|
|
|
|
|
|
LL | trait t2 : t1 {
|
2017-12-10 13:47:55 -06:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-04-15 16:21:00 -05:00
|
|
|
= note: ...which again requires computing the supertraits of `t1`, completing the cycle
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0391`.
|