]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-23302-3.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-23302-3.stderr
1 error[E0391]: cycle detected when const-evaluating + checking `A`
2 --> $DIR/issue-23302-3.rs:1:1
3 |
4 LL | const A: i32 = B;
5 | ^^^^^^^^^^^^^^^^^
6 |
7 note: ...which requires const-evaluating + checking `B`...
8 --> $DIR/issue-23302-3.rs:3:1
9 |
10 LL | const B: i32 = A;
11 | ^^^^^^^^^^^^^^^^^
12 = note: ...which again requires const-evaluating + checking `A`, completing the cycle
13 note: cycle used when simplifying constant for the type system `A`
14 --> $DIR/issue-23302-3.rs:1:1
15 |
16 LL | const A: i32 = B;
17 | ^^^^^^^^^^^^
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0391`.