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
The Rust compiler doesn't complain upon trying to use a moved value.
Note that there seems to be no side effects, but it should still be disallowed or at least warned against.
The Rust compiler doesn't complain upon trying to use a moved value.
Note that there seems to be no side effects, but it should still be disallowed or at least warned against.
Example (try it on Playgound):
I would expect
p1.x = -11;
not to compile.The text was updated successfully, but these errors were encountered: