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
Document promotion of match scrutinees due to guards
Borrowing part of a match scrutinee from within the guard can trigger
constant promotion even if that part of the scrutinee is later moved
into a variable. Let's add a note about this.
0 commit comments