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