mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00

also adjust the wording a little so that we don't say "the error occurred here" for two different spans
646 lines
12 KiB
Plaintext
646 lines
12 KiB
Plaintext
error[E0080]: reached the configured maximum number of stack frames
|
|
--> $DIR/infinite-recursion-const-fn.rs:9:18
|
|
|
|
|
LL | const ARR: [i32; a()] = [5; 6];
|
|
| ^^^ evaluation of `ARR::{constant#0}` failed inside this call
|
|
|
|
|
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()
|
|
| ^^^ the failure occurred here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0080`.
|