From 5ccf056a024b0769d7adc22f57eda8d75ae07a58 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Mon, 23 Jun 2014 17:50:40 -0700 Subject: [PATCH] Make parse_expr_res 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 e1319304e04..1cb09bb8d89 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2721,7 +2721,7 @@ pub fn parse_expr(&mut self) -> Gc { } // parse an expression, subject to the given restriction - fn parse_expr_res(&mut self, r: restriction) -> Gc { + pub fn parse_expr_res(&mut self, r: restriction) -> Gc { let old = self.restriction; self.restriction = r; let e = self.parse_assign_expr(); -- 2.44.0