mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
651 lines
12 KiB
Plaintext
651 lines
12 KiB
Plaintext
error[E0080]: evaluation of constant value failed
|
|
--> $DIR/infinite-recursion-const-fn.rs:4:5
|
|
|
|
|
LL | b()
|
|
| ^^^ 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()
|
|
| ^^^
|
|
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
|
|
|
|
|
LL | const ARR: [i32; a()] = [5; 6];
|
|
| ^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|