···422422 ) -> TypedPattern {
423423 // Any variables from other parts of the pattern are no longer in scope.
424424 // Only variables from the bit array pattern itself can be used.
425425- for (_, variable) in self.variables.iter_mut() {
425425+ for variable in self.variables.values_mut() {
426426 variable.scope = Scope::OtherPattern;
427427 }
428428