Self is not recognised as implementing kinds in default method implementations #8171
Labels
A-trait-system
Area: Trait system
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
(This is related to #7661. It is in fact the second case there, but moved into a new issue as it languished there with the rest fixed.)
This does not compile, though it should:
I need this to be able to refer to
self
inside aspawn
closure, and that will only work if it's Send, and so there I sadly cannot provide a default method implementation of the trait at present.(buzzwords for search: built-in trait inheritance.)
The text was updated successfully, but these errors were encountered: