diff options
| author | Ralf Jung <post@ralfj.de> | 2025-06-18 08:00:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-18 08:00:38 +0000 |
| commit | e8fccabe557b1771c4a545485513d4dfe4b12101 (patch) | |
| tree | 45b8088b9bb4f73bf4e141ad803516ad83539315 /compiler/rustc_parse/src/parser | |
| parent | 7dfa752e27b50667048aa76b3de7df33687a64cf (diff) | |
| parent | 140479d40500683fb41c4800b1c17a28c1e7eb51 (diff) | |
| download | rust-e8fccabe557b1771c4a545485513d4dfe4b12101.tar.gz rust-e8fccabe557b1771c4a545485513d4dfe4b12101.zip | |
Merge pull request #4404 from rust-lang/rustup-2025-06-18
Automatic Rustup
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_parse/src/parser/pat.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index 93489aa8ee9..93c76c47f06 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -4087,7 +4087,7 @@ impl<'a> CondChecker<'a> { } impl MutVisitor for CondChecker<'_> { - fn visit_expr(&mut self, e: &mut P<Expr>) { + fn visit_expr(&mut self, e: &mut Expr) { self.depth += 1; use ForbiddenLetReason::*; diff --git a/compiler/rustc_parse/src/parser/pat.rs b/compiler/rustc_parse/src/parser/pat.rs index 7a226136e23..64653ee2a04 100644 --- a/compiler/rustc_parse/src/parser/pat.rs +++ b/compiler/rustc_parse/src/parser/pat.rs @@ -1094,7 +1094,7 @@ impl<'a> Parser<'a> { fn make_all_value_bindings_mutable(pat: &mut P<Pat>) -> bool { struct AddMut(bool); impl MutVisitor for AddMut { - fn visit_pat(&mut self, pat: &mut P<Pat>) { + fn visit_pat(&mut self, pat: &mut Pat) { if let PatKind::Ident(BindingMode(ByRef::No, m @ Mutability::Not), ..) = &mut pat.kind { |
