2022-12-29 17:14:29 -06:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/ctfe-fn-call.rs:28:5
|
|
|
|
|
|
|
|
|
LL | foo();
|
|
|
|
| ^^^^^ exceeded interpreter step limit (see `#[const_eval_limit]`)
|
|
|
|
|
|
|
|
|
note: inside `call_foo`
|
|
|
|
--> $DIR/ctfe-fn-call.rs:28:5
|
|
|
|
|
|
|
|
|
LL | foo();
|
|
|
|
| ^^^^^
|
|
|
|
note: inside `X`
|
|
|
|
--> $DIR/ctfe-fn-call.rs:32:16
|
|
|
|
|
|
|
|
|
LL | const X: u32 = call_foo();
|
|
|
|
| ^^^^^^^^^^
|
2022-12-28 21:38:34 -06:00
|
|
|
|
2022-12-29 17:14:29 -06:00
|
|
|
error: aborting due to previous error
|
2022-12-28 21:38:34 -06:00
|
|
|
|
2022-12-29 17:14:29 -06:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|