When using associated_type_defaults: Why do I need to reimplement method with default impl when overriding assoc type default? #53907
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-specialization
Area: Trait impl specialization
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.
rustc 1.30.0-nightly (02cb8f2 2018-08-29)
I'm using
#![feature(associated_type_defaults)]
and getting this error with the code below:Why do I need to reimplement the
process()
method (which has a default impl) when overriding theMsg
assoc type's default?Why can't I keep using the default impl?
The
process()
method isn't even using theMsg
assoc type.The text was updated successfully, but these errors were encountered: