mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
12 lines
467 B
Plaintext
12 lines
467 B
Plaintext
error: queries overflow the depth limit!
|
|
--> $DIR/recursive-const-in-impl.rs:11:20
|
|
|
|
|
LL | println!("{}", Thing::<i32>::X);
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "14"]` attribute to your crate (`recursive_const_in_impl`)
|
|
= note: query depth increased by 9 when simplifying constant for the type system `main::promoted[0]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|