2020-12-02 17:19:11 +05:30
|
|
|
error[E0080]: evaluation of constant value failed
|
|
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
2019-11-11 14:32:36 +00:00
|
|
|
|
|
2020-12-02 17:19:11 +05:30
|
|
|
LL | b()
|
2022-11-29 13:10:42 +00: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 17:19:11 +05:30
|
|
|
| ^^^
|
2022-11-29 13:10:42 +00: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 15:19:34 +02:00
|
|
|
LL | const ARR: [i32; a()] = [5; 6];
|
2022-11-29 13:10:42 +00:00
|
|
|
| ^^^
|
2018-01-16 10:15:41 +01:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2020-12-02 17:19:11 +05:30
|
|
|
For more information about this error, try `rustc --explain E0080`.
|