if let
semantically equivalence to if
is wrong w.r.t. scope
#47
Labels
C-bug
Incorrect statements, terminology, or rendering issues
The equivalence is wrong because the scope of the expression in the predicate has to live as long as the consequent because of the ability to
ref
in the pattern.Or something like that.
The text was updated successfully, but these errors were encountered: