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