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
This is covered by the work on generalized two-phase borrows, which is tracked in #49434. Possibly an RFC amendment would be required to make this case work, since I'm not sure if that is covered by the existing design work.
I tried this code:
I expected to see this happen: all good.
Instead, this happened: error:
cannot borrow
vas mutable more than once at a time
If I rewrite this code onto
then all be nice.
The text was updated successfully, but these errors were encountered: