The "reached type-length limit" error is not very helpful #62495
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
This issue is close to #58952, but I think it's different. Feel free to close it if I'm mistaken.
The issue
Here is the code I am trying to compile: lovasoa/seamcarving @ f6be585.
The compilation fails with :
The issue probably comes from my code, and not from the compiler, but the compiler makes it quite difficult to debug !
The compiler error does not point to a precise place in the code, and does not even print the full name of the type it is trying to instantiate. I only know that is starts with
<std::iter::Once<u32> as std::it
and ends withving::seamfinder::SeamElem), !>>
.Moreover, it notes :
... even if the attribute is already there.
The text was updated successfully, but these errors were encountered: