File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
src/librustc_parse/parser Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -654,15 +654,11 @@ impl<'a> Parser<'a> {
654
654
}
655
655
656
656
/// Parses `a.b` or `a(13)` or `a[4]` or just `a`.
657
- fn parse_dot_or_call_expr (
658
- & mut self ,
659
- already_parsed_attrs : Option < AttrVec > ,
660
- ) -> PResult < ' a , P < Expr > > {
661
- let attrs = self . parse_or_use_outer_attributes ( already_parsed_attrs) ?;
662
-
663
- let b = self . parse_bottom_expr ( ) ;
664
- let ( span, b) = self . interpolated_or_expr_span ( b) ?;
665
- self . parse_dot_or_call_expr_with ( b, span, attrs)
657
+ fn parse_dot_or_call_expr ( & mut self , attrs : Option < AttrVec > ) -> PResult < ' a , P < Expr > > {
658
+ let attrs = self . parse_or_use_outer_attributes ( attrs) ?;
659
+ let base = self . parse_bottom_expr ( ) ;
660
+ let ( span, base) = self . interpolated_or_expr_span ( base) ?;
661
+ self . parse_dot_or_call_expr_with ( base, span, attrs)
666
662
}
667
663
668
664
pub ( super ) fn parse_dot_or_call_expr_with (
You can’t perform that action at this time.
0 commit comments