error[E0320]: overflow while adding drop-check rules for A<i32>
--> a.rs:6:2
|
6 | A::<i32>::B;
| ^^^^^^^^^^^
|
= note: overflowed on A<(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32)))), ((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))))), (((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32)))), ((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32)))))), ((((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32)))), ((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))))), (((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32)))), ((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))))))), (((((((i32, i32), (i32, i32)), ((i32, i32), (i32, i32))), (((i32, i32
(snip)
Since the error output is very large and taints the terminal, It might be better to use the same error output format as in the recursion limit error. Its format as follows.
The same error occurs in Ubuntu nightly version.
I tried this code:
Compilation resulted in the E0320 error of 3.7MB:
Since the error output is very large and taints the terminal, It might be better to use the same error output format as in the recursion limit error. Its format as follows.
In #72412, long type name is omitted:
In #76843, the full type name of the omitted type is saved to a file:
= note: the full type name has been written to '$TEST_BUILD_DIR/issues/issue-67552/issue-67552.long-type.txt'Meta
rustc --version --verbose:The same error occurs in Ubuntu nightly version.