summaryrefslogtreecommitdiffstats
path: root/tests/ui/consts/const-eval/stable-metric/ctfe-fn-call.stderr
blob: ed70975af341db10e70a78b2f9c93884b6b0efae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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`.