]> git.lizzy.rs Git - rust.git/blob - tests/ui/consts/const-eval/issue-52475.stderr
Bless and update consts tests
[rust.git] / tests / ui / consts / const-eval / issue-52475.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/issue-52475.rs:5:9
3    |
4 LL | /         while n < 5 {
5 LL | |             n = (n + 1) % 5;
6 LL | |             x = &0; // Materialize a new AllocId
7 LL | |         }
8    | |_________^ exceeded interpreter step limit (see `#[const_eval_limit]`)
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0080`.