Associated type default and From #47385
Labels
A-associated-items
Area: Associated items (types, constants & functions)
C-bug
Category: This is a bug.
F-associated_type_defaults
`#![feature(associated_type_defaults)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Associated type defaults seem broken in the following case: (play)
Compile error:
However if I uncomment
type Input = Self
in impl, it will work. It is confusing, becauseInput
should be already set toSelf
in the default case.The text was updated successfully, but these errors were encountered: