rust/src/test/ui/issue-23302-2.stderr

22 lines
731 B
Plaintext
Raw Normal View History

error[E0391]: cyclic dependency detected
--> $DIR/issue-23302-2.rs:14:9
|
2018-02-24 23:59:34 +00:00
LL | A = Y::B as isize, //~ ERROR E0391
| ^^^^^^^^^^^^^ cyclic reference
|
note: the cycle begins when const-evaluating `Y::A::{{initializer}}`...
2018-03-05 09:21:11 +00:00
--> $DIR/issue-23302-2.rs:14:9
|
LL | A = Y::B as isize, //~ ERROR E0391
| ^^^^^^^^^^^^^
note: ...which then requires computing layout of `Y`...
--> $DIR/issue-23302-2.rs:14:9
|
2018-02-24 23:59:34 +00:00
LL | A = Y::B as isize, //~ ERROR E0391
2018-03-05 09:21:11 +00:00
| ^^^^
= note: ...which then again requires const-evaluating `Y::A::{{initializer}}`, completing the cycle.
error: aborting due to previous error
2018-02-26 08:56:00 +00:00
If you want more information on this error, try using "rustc --explain E0391"