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