2018-05-17 13:28:50 -05:00
|
|
|
error[E0391]: cycle detected when processing `X::A::{{constant}}`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-23302-1.rs:4:9
|
2018-02-03 14:15:00 -06:00
|
|
|
|
|
2018-02-24 17:59:34 -06:00
|
|
|
LL | A = X::A as isize, //~ ERROR E0391
|
2018-04-19 06:17:09 -05:00
|
|
|
| ^^^^^^^^^^^^^
|
2018-04-15 16:21:00 -05:00
|
|
|
|
|
2018-05-17 13:28:50 -05:00
|
|
|
= note: ...which again requires processing `X::A::{{constant}}`, completing the cycle
|
|
|
|
note: cycle used when const-evaluating `X::A::{{constant}}`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-23302-1.rs:4:9
|
2018-04-19 06:17:09 -05:00
|
|
|
|
|
|
|
|
LL | A = X::A as isize, //~ ERROR E0391
|
|
|
|
| ^^^^^^^^^^^^^
|
2018-02-03 14:15:00 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0391`.
|