Rename parse_no_question_mark_recover.

Adding a `ty_` makes its purpose much clearer, and consistent with other
`parse_ty_*` functions.
This commit is contained in:
Nicholas Nethercote 2023-08-09 12:57:05 +10:00
parent 3bb85b73b5
commit 04cf6b4ac5
2 changed files with 2 additions and 2 deletions

View file

@ -180,7 +180,7 @@ impl<'a> Parser<'a> {
)
}
pub(super) fn parse_no_question_mark_recover(&mut self) -> PResult<'a, P<Ty>> {
pub(super) fn parse_ty_no_question_mark_recover(&mut self) -> PResult<'a, P<Ty>> {
self.parse_ty_common(
AllowPlus::Yes,
AllowCVariadic::No,