2018-02-09 17:28:23 -06:00
|
|
|
error[E0391]: cyclic dependency detected
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/issue-36163.rs:14:9
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-03 14:15:00 -06:00
|
|
|
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
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-03 14:15:00 -06:00
|
|
|
14 | B = A, //~ ERROR E0391
|
|
|
|
| ^
|
|
|
|
= note: ...which then again requires const-evaluating `Foo::B::{{initializer}}`, completing the cycle.
|
2017-12-10 13:47:55 -06:00
|
|
|
|
2018-02-03 14:15:00 -06:00
|
|
|
error: aborting due to previous error
|
2017-12-10 13:47:55 -06:00
|
|
|
|
2018-02-26 02:56:00 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0391"
|