Trait generic over lifetime causes uses of associated types to fail to infer properly inside default methods #24338
Labels
A-inference
Area: Type inference
A-lifetimes
Area: lifetime related
A-traits
Area: Trait system
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
P-low
Low priority
Strangely, switching to the commented out form works fine, i.e. just moving the body of the code out of the default method.
Nominating since I am unsure how important we regard inference issues like this to be.
The text was updated successfully, but these errors were encountered: