You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Self is not recognised as implementing kinds in default method implementations #8171
<anon>:5:8: 5:20 error: instantiating a type parameter with an incompatible type `Self`, which does not fulfill `Send`
<anon>:5 require_send(self);
^~~~~~~~~~~~
error: aborting due to previous error
I need this to be able to refer to self inside a spawn 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.)
Activity
Aatch commentedon Aug 3, 2013
Nominating for a milestone, probably well-defined. We need some way of bounding the
Selftype inside default methods.catamorphism commentedon Sep 12, 2013
We think this is fixed. Marked as needstest.
auto merge of #9225 : huonw/rust/closing-time, r=alexcrichton
Tests for fixed issues.
auto merge of #9225 : huonw/rust/closing-time, r=alexcrichton
Auto merge of rust-lang#8182 - rust-lang:cache-test-items, r=giraffate
Merge rust-lang#8201