From ed74b0b01685afa9a8c86078131f7d4b9c40ab7c Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Mon, 11 Jun 2018 23:04:11 +0900 Subject: [PATCH] Make parse_ident public --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }