rust/src/test/ui/issue-23302-1.stderr
Guillaume Gomez 2e104a77cf update tests
2018-03-14 00:53:24 +01:00

22 lines
721 B
Plaintext

error[E0391]: cyclic dependency detected
--> $DIR/issue-23302-1.rs:14:9
|
LL | A = X::A as isize, //~ ERROR E0391
| ^^^^^^^^^^^^^ cyclic reference
|
note: the cycle begins when const-evaluating `X::A::{{initializer}}`...
--> $DIR/issue-23302-1.rs:14:9
|
LL | A = X::A as isize, //~ ERROR E0391
| ^^^^^^^^^^^^^
note: ...which then requires computing layout of `X`...
--> $DIR/issue-23302-1.rs:14:9
|
LL | A = X::A as isize, //~ ERROR E0391
| ^^^^
= note: ...which then again requires const-evaluating `X::A::{{initializer}}`, completing the cycle.
error: aborting due to previous error
For more information about this error, try `rustc --explain E0391`.