2018-09-07 10:53:31 +02:00
|
|
|
error[E0080]: evaluation of constant value failed
|
2023-01-04 05:04:03 +00:00
|
|
|
--> $DIR/issue-52475.rs:5:9
|
2018-08-18 14:48:14 +02:00
|
|
|
|
|
2023-01-04 05:04:03 +00:00
|
|
|
LL | / while n < 5 {
|
|
|
|
LL | | n = (n + 1) % 5;
|
|
|
|
LL | | x = &0; // Materialize a new AllocId
|
|
|
|
LL | | }
|
|
|
|
| |_________^ exceeded interpreter step limit (see `#[const_eval_limit]`)
|
2018-08-18 14:48:14 +02:00
|
|
|
|
2020-06-25 17:43:48 -07:00
|
|
|
error: aborting due to previous error
|
2018-08-18 14:48:14 +02:00
|
|
|
|
2020-06-25 17:43:48 -07:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|