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

22 lines
663 B
Plaintext
Raw Normal View History

error[E0391]: cyclic dependency detected
--> $DIR/issue-36163.rs:14:9
|
14 | B = A, //~ ERROR E0391
| ^ cyclic reference
|
note: the cycle begins when const-evaluating `Foo::B::{{initializer}}`...
--> $DIR/issue-36163.rs:14:5
|
14 | B = A, //~ ERROR E0391
| ^^^^^
note: ...which then requires const-evaluating `A`...
--> $DIR/issue-36163.rs:14:9
|
14 | B = A, //~ ERROR E0391
| ^
= note: ...which then again requires const-evaluating `Foo::B::{{initializer}}`, completing the cycle.
error: aborting due to previous error
2018-02-26 02:56:00 -06:00
If you want more information on this error, try using "rustc --explain E0391"