Recursion limit reached when evaluating trait bounds for trait impl on reference type. #107850
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
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.
I tried this code:
I expected to see this happen: The code compiles.
Instead, this happened: The code does not compile.
Meta
rustc --version --verbose
:Backtrace
There is a chance that this issue is related to #107837, as the nature of the failure looks very similar to me. Other versions of this that I've tried buried the
Muls
traits in another layer of traits (MulsToSelf
,MulsToOther
), which changes the error message to something complaining aboutWrap <Wrap <T>>
and such.The text was updated successfully, but these errors were encountered: