|
1 | | -error[E0391]: cycle detected when const-evaluating + checking `FOO` |
2 | | - --> $DIR/issue-17252.rs:1:20 |
| 1 | +error[E0391]: cycle detected when simplifying constant for the type system `FOO` |
| 2 | + --> $DIR/issue-17252.rs:1:1 |
3 | 3 | | |
4 | 4 | LL | const FOO: usize = FOO; |
5 | | - | ^^^ |
| 5 | + | ^^^^^^^^^^^^^^^^ |
6 | 6 | | |
7 | | -note: ...which requires simplifying constant for the type system `FOO`... |
8 | | - --> $DIR/issue-17252.rs:1:1 |
| 7 | +note: ...which requires const-evaluating + checking `FOO`... |
| 8 | + --> $DIR/issue-17252.rs:1:20 |
9 | 9 | | |
10 | 10 | LL | const FOO: usize = FOO; |
11 | | - | ^^^^^^^^^^^^^^^^ |
12 | | - = note: ...which again requires const-evaluating + checking `FOO`, completing the cycle |
13 | | -note: cycle used when const-evaluating + checking `FOO` |
| 11 | + | ^^^ |
| 12 | + = note: ...which again requires simplifying constant for the type system `FOO`, completing the cycle |
| 13 | +note: cycle used when simplifying constant for the type system `FOO` |
14 | 14 | --> $DIR/issue-17252.rs:1:1 |
15 | 15 | | |
16 | 16 | LL | const FOO: usize = FOO; |
17 | 17 | | ^^^^^^^^^^^^^^^^ |
18 | 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 | 19 |
|
20 | | -error[E0391]: cycle detected when const-evaluating + checking `main::BAR` |
21 | | - --> $DIR/issue-17252.rs:6:28 |
| 20 | +error[E0391]: cycle detected when simplifying constant for the type system `main::BAR` |
| 21 | + --> $DIR/issue-17252.rs:6:9 |
22 | 22 | | |
23 | 23 | LL | const BAR: usize = BAR; |
24 | | - | ^^^ |
| 24 | + | ^^^^^^^^^^^^^^^^ |
25 | 25 | | |
26 | | -note: ...which requires simplifying constant for the type system `main::BAR`... |
27 | | - --> $DIR/issue-17252.rs:6:9 |
| 26 | +note: ...which requires const-evaluating + checking `main::BAR`... |
| 27 | + --> $DIR/issue-17252.rs:6:28 |
28 | 28 | | |
29 | 29 | LL | const BAR: usize = BAR; |
30 | | - | ^^^^^^^^^^^^^^^^ |
31 | | - = note: ...which again requires const-evaluating + checking `main::BAR`, completing the cycle |
32 | | -note: cycle used when const-evaluating + checking `main::BAR` |
| 30 | + | ^^^ |
| 31 | + = note: ...which again requires simplifying constant for the type system `main::BAR`, completing the cycle |
| 32 | +note: cycle used when simplifying constant for the type system `main::BAR` |
33 | 33 | --> $DIR/issue-17252.rs:6:9 |
34 | 34 | | |
35 | 35 | LL | const BAR: usize = BAR; |
|
0 commit comments