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
I think this has to do with the implementation of Clone for fn types, which is kinda broken because it loses bound lifetimes. After #5527 lands, we'll be able to do:
impl<T:Copy> Clone for T { ... }
and then remove the impls for bare fns, which should solve this problem, at least in this case.
Code:
Transcript of compile attempts:
The text was updated successfully, but these errors were encountered: