rust/tests/ui/consts/const-eval/issue-52475.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
321 B
Plaintext
Raw Normal View History

2018-09-07 03:53:31 -05:00
error[E0080]: evaluation of constant value failed
2020-06-25 19:43:48 -05:00
--> $DIR/issue-52475.rs:6:17
2018-08-18 07:48:14 -05:00
|
2019-03-09 06:03:44 -06:00
LL | n = (n + 1) % 5;
| ^^^^^^^^^^^ exceeded interpreter step limit (see `#[const_eval_limit]`)
2018-08-18 07:48:14 -05:00
2020-06-25 19:43:48 -05:00
error: aborting due to previous error
2018-08-18 07:48:14 -05:00
2020-06-25 19:43:48 -05:00
For more information about this error, try `rustc --explain E0080`.