diff options
| author | bors <bors@rust-lang.org> | 2018-06-12 02:48:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-12 02:48:10 +0000 |
| commit | 1abb4ef6363cf66bf2684daf51c2d205e840ddd8 (patch) | |
| tree | c4e6b4417180f5bd73320fddebe17b1088aa070f /src/libsyntax/parse/parser.rs | |
| parent | 4367e41ea2a105c373de27c2f080fc2527cc6927 (diff) | |
| parent | ed74b0b01685afa9a8c86078131f7d4b9c40ab7c (diff) | |
| download | rust-1abb4ef6363cf66bf2684daf51c2d205e840ddd8.tar.gz rust-1abb4ef6363cf66bf2684daf51c2d205e840ddd8.zip | |
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.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 97fcf70f531..36ae54a509e 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -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) } |
