Skip to content

Commit 1abb4ef

Browse files
committed
Auto merge of #51498 - topecongiro:pub-parse_ident, r=petrochenkov
Make parse_ident public `parse_ident` was made private in #51265. In rustfmt the method is used to create a custom parser for macro call.
2 parents 4367e41 + ed74b0b commit 1abb4ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ impl<'a> Parser<'a> {
760760
err
761761
}
762762

763-
fn parse_ident(&mut self) -> PResult<'a, ast::Ident> {
763+
pub fn parse_ident(&mut self) -> PResult<'a, ast::Ident> {
764764
self.parse_ident_common(true)
765765
}
766766

0 commit comments

Comments
 (0)