rust/tests/ui/consts/const-eval/stable-metric/ctfe-fn-call.stderr
2023-01-24 00:01:40 +00:00

21 lines
501 B
Plaintext

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();
| ^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0080`.