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
fntest(a:*mutu32,b:*mutu32) -> *mutu32{*b = 1;
a
}
In this example the return type should be marked move, and neither param is getting marked at all (even though b isn't involved in the move at all). Works fine if you change return of a to 0 as *mut u32, in which case the return is no longer a move.
The text was updated successfully, but these errors were encountered:
In this example the return type should be marked move, and neither param is getting marked at all (even though b isn't involved in the move at all). Works fine if you change return of
a
to0 as *mut u32
, in which case the return is no longer a move.The text was updated successfully, but these errors were encountered: