From b1c0857f6246c3359c1e40a2a39d938f267ee2a4 Mon Sep 17 00:00:00 2001 From: PSeitz Date: Thu, 14 Jun 2018 10:18:44 +0200 Subject: [PATCH] Follow up on https://github.com/rust-lang/rust/pull/51508, make parse_block public instead parse_block_expr This is an follow up to #51508 I mistakenly made parse_block_expr public instead of parse_block. This fixes this. --- src/libsyntax/parse/parser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index e1f920c16fd39..e44f3d14d5580 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -2469,7 +2469,7 @@ impl<'a> Parser<'a> { } /// Parse a block or unsafe block - pub fn parse_block_expr(&mut self, opt_label: Option