Skip to content

Commit 5ccf056

Browse files
Keegan McAllisteralexcrichton
Keegan McAllister
authored andcommitted
Make parse_expr_res public
1 parent 26b2fa0 commit 5ccf056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2721,7 +2721,7 @@ impl<'a> Parser<'a> {
27212721
}
27222722

27232723
// parse an expression, subject to the given restriction
2724-
fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
2724+
pub fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
27252725
let old = self.restriction;
27262726
self.restriction = r;
27272727
let e = self.parse_assign_expr();

0 commit comments

Comments
 (0)