]> git.proxmox.com Git - rustc.git/blame - tests/ui/consts/const-eval/infinite_loop.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / consts / const-eval / infinite_loop.stderr
CommitLineData
a1dfa0c6 1error[E0080]: evaluation of constant value failed
9ffffee4 2 --> $DIR/infinite_loop.rs:6:9
8faf50e0 3 |
9ffffee4
FG
4LL | / while n != 0 {
5LL | |
6LL | | n = if n % 2 == 0 { n/2 } else { 3*n + 1 };
7LL | | }
8 | |_________^ exceeded interpreter step limit (see `#[const_eval_limit]`)
8faf50e0 9
f035d41b 10error: aborting due to previous error
8faf50e0 11
f035d41b 12For more information about this error, try `rustc --explain E0080`.