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
You can have more than one bound, simply separate them with spaces (e.g. T: owned copy).
That said, I do not think an owned bound should be required here, as the type in question (T) appears within the fn type. This rule is not correctly enforced for functions (it is correctly enforced for ifaces). I will open a separate question on this matter.
Been trying to get my code working with the latest rust (master from July 22) and am stymied by the code below:
Barring a complete rewrite, I don't see any way I can get the compiler to accept the code.
The text was updated successfully, but these errors were encountered: