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 match on opt should not require the own permission. Case in point, if you do let x = &opt and x is live across the match, the program still compiles.
The text was updated successfully, but these errors were encountered:
Core issue is that match operand really only expects R for the discriminant operation. Any additional permission expectations should be placed on the patterns where things get bound.
This program:
Is visualized with these permission:
The match on
opt
should not require the own permission. Case in point, if you dolet x = &opt
andx
is live across the match, the program still compiles.The text was updated successfully, but these errors were encountered: