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
Since dup duplicates a unique pointer, it shouldn't accept it. Indeed, it correctly rejects the following program, complaining that it uses a moved variable: