File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_parse/src/parser Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ impl<'a> Parser<'a> {
149149 }
150150
151151 NonterminalKind :: Ty => token:: NtTy (
152- self . collect_tokens_no_attrs ( |this| this. parse_no_question_mark_recover ( ) ) ?,
152+ self . collect_tokens_no_attrs ( |this| this. parse_ty_no_question_mark_recover ( ) ) ?,
153153 ) ,
154154
155155 // this could be handled like a token, since it is one
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ impl<'a> Parser<'a> {
180180 )
181181 }
182182
183- pub ( super ) fn parse_no_question_mark_recover ( & mut self ) -> PResult < ' a , P < Ty > > {
183+ pub ( super ) fn parse_ty_no_question_mark_recover ( & mut self ) -> PResult < ' a , P < Ty > > {
184184 self . parse_ty_common (
185185 AllowPlus :: Yes ,
186186 AllowCVariadic :: No ,
You can’t perform that action at this time.
0 commit comments