about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorTim Kuehn <tikue@google.com>2018-06-22 16:23:25 -0700
committerTim Kuehn <tikue@google.com>2018-06-22 16:23:25 -0700
commit0c33e0ae134937f79182c8e58ea0cb1180c8fb3f (patch)
tree827de28ea0ac47f65c56f3bbd7089cd803e75fa5 /src/libsyntax/parse/parser.rs
parentcbc4c8380fb92a719ae9be40f9da44ca7e3e2f3f (diff)
downloadrust-0c33e0ae134937f79182c8e58ea0cb1180c8fb3f.tar.gz
rust-0c33e0ae134937f79182c8e58ea0cb1180c8fb3f.zip
Re-reexport some items that were recently made crate-private.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 9e527fc8aad..69521c17a25 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -5402,7 +5402,7 @@ impl<'a> Parser<'a> {
     }
 
     /// Parse an impl item.
-    crate fn parse_impl_item(&mut self, at_end: &mut bool) -> PResult<'a, ImplItem> {
+    pub fn parse_impl_item(&mut self, at_end: &mut bool) -> PResult<'a, ImplItem> {
         maybe_whole!(self, NtImplItem, |x| x);
         let attrs = self.parse_outer_attributes()?;
         let (mut item, tokens) = self.collect_tokens(|this| {