rust/src/test/ui/issue-12511.stderr

22 lines
637 B
Plaintext
Raw Normal View History

error[E0391]: cyclic dependency detected
--> $DIR/issue-12511.rs:14:1
|
2018-02-23 00:42:32 +00:00
LL | trait t2 : t1 {
| ^^^^^^^^^^^^^ cyclic reference
|
note: the cycle begins when computing the supertraits of `t1`...
--> $DIR/issue-12511.rs:11:1
|
2018-02-23 00:42:32 +00:00
LL | trait t1 : t2 {
| ^^^^^^^^^^^^^
note: ...which then requires computing the supertraits of `t2`...
--> $DIR/issue-12511.rs:11:1
|
2018-02-23 00:42:32 +00:00
LL | 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"