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
Also the error is really confusing, because the compiler omits the troublesome bound in the error message.
traitIsClone:Clone{}implIsCloneforfn(&()){}//~^ error: the trait `core::clone::Clone` is not implemented for the type `fn(&())`implIsCloneforfor<'a> fn(&'a ()){}//~^ error: the trait `core::clone::Clone` is not implemented for the type `fn(&'a ())`impl<'a>IsCloneforfn(&'a ()){}// OK
The text was updated successfully, but these errors were encountered:
Also the error is really confusing, because the compiler omits the troublesome bound in the error message.
The text was updated successfully, but these errors were encountered: