fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
520 B16 linesraw
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`.