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.
This commit is contained in:
commit
1abb4ef636
@ -760,7 +760,7 @@ impl<'a> Parser<'a> {
|
||||
err
|
||||
}
|
||||
|
||||
fn parse_ident(&mut self) -> PResult<'a, ast::Ident> {
|
||||
pub fn parse_ident(&mut self) -> PResult<'a, ast::Ident> {
|
||||
self.parse_ident_common(true)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user