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
Hmm, I'm not sure if safety rules for the Stack trait would permit this behavior too? For example imagine creating a reference-counted stack which locks mutex on calls to any method and unlocks it from the drop implementation.
However, if we would have the hypothetical Forget auto trait, there wouldn't be an issue but a limitation of Coroutine being !Forgetunless stack type is 'static. Thus I believe placing requirement Stack: 'static in a where clause of the Coroutine::with_stack constructor does make sense.
Oops again, didn't notice.
The text was updated successfully, but these errors were encountered: