We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b2fa0 commit 5ccf056Copy full SHA for 5ccf056
src/libsyntax/parse/parser.rs
@@ -2721,7 +2721,7 @@ impl<'a> Parser<'a> {
2721
}
2722
2723
// parse an expression, subject to the given restriction
2724
- fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
+ pub fn parse_expr_res(&mut self, r: restriction) -> Gc<Expr> {
2725
let old = self.restriction;
2726
self.restriction = r;
2727
let e = self.parse_assign_expr();
0 commit comments