2020-12-02 05:49:11 -06:00
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
2019-11-11 08:32:36 -06:00
|
|
|
|
|
2020-12-02 05:49:11 -06:00
|
|
|
LL | b()
|
2022-11-29 07:10:42 -06:00
|
|
|
| ^^^ reached the configured maximum number of stack frames
|
|
|
|
|
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
2020-12-02 05:49:11 -06:00
|
|
|
| ^^^
|
2022-11-29 07:10:42 -06:00
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `b`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:7:5
|
|
|
|
|
|
|
|
|
LL | a()
|
|
|
|
| ^^^
|
|
|
|
note: inside `a`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
|
|
|
|
LL | b()
|
|
|
|
| ^^^
|
|
|
|
note: inside `ARR::{constant#0}`
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:9:18
|
|
|
|
|
|
2018-08-26 08:19:34 -05:00
|
|
|
LL | const ARR: [i32; a()] = [5; 6];
|
2022-11-29 07:10:42 -06:00
|
|
|
| ^^^
|
2018-01-16 03:15:41 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-01-16 03:15:41 -06:00
|
|
|
|
2020-12-02 05:49:11 -06:00
|
|
|
For more information about this error, try `rustc --explain E0080`.
|