]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-23302-2.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-23302-2.stderr
CommitLineData
923072b8 1error[E0391]: cycle detected when const-evaluating + checking `Y::A::{constant#0}`
0731742a 2 --> $DIR/issue-23302-2.rs:4:9
0531ce1d 3 |
532ac7d7 4LL | A = Y::B as isize,
83c7162d 5 | ^^^^^^^^^^^^^
0531ce1d 6 |
923072b8
FG
7 = note: ...which immediately requires const-evaluating + checking `Y::A::{constant#0}` again
8note: cycle used when simplifying constant for the type system `Y::A::{constant#0}`
0731742a 9 --> $DIR/issue-23302-2.rs:4:9
0531ce1d 10 |
532ac7d7 11LL | A = Y::B as isize,
0531ce1d 12 | ^^^^^^^^^^^^^
0531ce1d
XL
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0391`.