From bbcfd90cd17a5d8a812cf3dcf9e5197b72ddde4b Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 14 Aug 2024 08:49:41 +1000 Subject: [PATCH] Convert a `&mut self` to `&self`. --- compiler/rustc_parse/src/parser/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_parse/src/parser/expr.rs b/compiler/rustc_parse/src/parser/expr.rs index cf5d65708ab0..bb3cddccce25 100644 --- a/compiler/rustc_parse/src/parser/expr.rs +++ b/compiler/rustc_parse/src/parser/expr.rs @@ -1206,7 +1206,7 @@ fn parse_floating_field_access(&mut self) -> PResult<'a, P<[Ident]>> { } fn mk_expr_tuple_field_access( - &mut self, + &self, lo: Span, ident_span: Span, base: P,