]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/stable-metric/ctfe-fn-call.stderr
ed70975af341db10e70a78b2f9c93884b6b0efae
[rust.git] / src / test / ui / consts / const-eval / stable-metric / ctfe-fn-call.stderr
1 error[E0080]: evaluation of constant value failed
2   --> $DIR/ctfe-fn-call.rs:28:5
3    |
4 LL |     foo();
5    |     ^^^^^ exceeded interpreter step limit (see `#[const_eval_limit]`)
6    |
7 note: inside `call_foo`
8   --> $DIR/ctfe-fn-call.rs:28:5
9    |
10 LL |     foo();
11    |     ^^^^^
12 note: inside `X`
13   --> $DIR/ctfe-fn-call.rs:32:16
14    |
15 LL | const X: u32 = call_foo();
16    |                ^^^^^^^^^^
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0080`.