Inference fails when a type using a default also implements Deref. #27603
Labels
A-inference
Area: Type inference
A-type-system
Area: Type 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.
The current code fails compilation:
With:
/cc @bluss @jroesch
The text was updated successfully, but these errors were encountered: