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> {
149
149
}
150
150
151
151
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 ( ) ) ?,
153
153
) ,
154
154
155
155
// 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> {
180
180
)
181
181
}
182
182
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 > > {
184
184
self . parse_ty_common (
185
185
AllowPlus :: Yes ,
186
186
AllowCVariadic :: No ,
You can’t perform that action at this time.
0 commit comments