]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-23302-2.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / issues / issue-23302-2.stderr
1 error[E0391]: cycle detected when simplifying constant for the type system `Y::A::{constant#0}`
2 --> $DIR/issue-23302-2.rs:4:9
3 |
4 LL | A = Y::B as isize,
5 | ^^^^^^^^^^^^^
6 |
7 note: ...which requires const-evaluating + checking `Y::A::{constant#0}`...
8 --> $DIR/issue-23302-2.rs:4:9
9 |
10 LL | A = Y::B as isize,
11 | ^^^^^^^^^^^^^
12 = note: ...which again requires simplifying constant for the type system `Y::A::{constant#0}`, completing the cycle
13 note: cycle used when simplifying constant for the type system `Y::A::{constant#0}`
14 --> $DIR/issue-23302-2.rs:4:9
15 |
16 LL | A = Y::B as isize,
17 | ^^^^^^^^^^^^^
18 = note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
19
20 error: aborting due to previous error
21
22 For more information about this error, try `rustc --explain E0391`.