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 another 2-phase borrow weirdness -- cell.get_mut() creates a two-phase borrow which has SharedReadWrite permission and thus joins the equivalence class that ptr is already in. Hence both of these pointers can be used interchangeably.
Whether that is what we want to happen I am not sure. ;)
Miri is somewhat inconsistent here:
(origininally discovered by @steffahn on urlo)
The text was updated successfully, but these errors were encountered: