fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0391]: cycle detected when const checking `X::A::{{constant}}#0` 2 --> $DIR/issue-23302-1.rs:4:9 3 | 4LL | A = X::A as isize, 5 | ^^^^^^^^^^^^^ 6 | 7 = note: ...which again requires const checking `X::A::{{constant}}#0`, completing the cycle 8note: cycle used when processing `X::A::{{constant}}#0` 9 --> $DIR/issue-23302-1.rs:4:9 10 | 11LL | A = X::A as isize, 12 | ^^^^^^^^^^^^^ 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0391`.