2018-02-10 00:28:23 +01:00
|
|
|
error[E0391]: cyclic dependency detected
|
2017-12-10 23:29:24 +03:00
|
|
|
--> $DIR/issue-12511.rs:14:1
|
2017-12-10 22:47:55 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | trait t2 : t1 {
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^^^^^^^^^^^^^ cyclic reference
|
|
|
|
|
|
|
|
|
note: the cycle begins when computing the supertraits of `t1`...
|
|
|
|
--> $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
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
note: ...which then requires computing the supertraits of `t2`...
|
|
|
|
--> $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
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
= note: ...which then again requires computing the supertraits of `t1`, completing the cycle.
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0391"
|