diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2025-06-12 00:02:12 +0800 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2025-06-12 17:36:03 +0800 |
| commit | 5f0dd44b3b1b142582d3dc8264cb2b8dd8f7c7f0 (patch) | |
| tree | 489a5717781e2dd30534e2b3e64c7eb5556fca97 /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 14346303d760027e53214e705109a62c0f00b214 (diff) | |
| download | rust-5f0dd44b3b1b142582d3dc8264cb2b8dd8f7c7f0.tar.gz rust-5f0dd44b3b1b142582d3dc8264cb2b8dd8f7c7f0.zip | |
avoid `&mut P<T>` in `visit_expr` etc methods
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/parser/expr.rs | 2 |
1 files changed, 1 insertions, 1 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::*; |
