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
We can try to analyze whether order changes don't change semantics. A simple analysis would probably assume that only the order of different enum variants is irrelevant or the order of non overlapping int patterns
match_same_arms
will not consider the order of match arms.Since it is specified that arms are checked in order, this leads to suggestions with two potential problems:
Example for the latter:
If this seems bad anyway because of overlap, consider the slightly more complex
The text was updated successfully, but these errors were encountered: