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 addbc5b commit fe848b4Copy full SHA for fe848b4
src/librustc_parse/parser/stmt.rs
@@ -318,11 +318,7 @@ impl<'a> Parser<'a> {
318
319
/// Parses the rest of a block expression or function body.
320
/// Precondition: already parsed the '{'.
321
- pub(super) fn parse_block_tail(
322
- &mut self,
323
- lo: Span,
324
- s: BlockCheckMode,
325
- ) -> PResult<'a, P<Block>> {
+ fn parse_block_tail(&mut self, lo: Span, s: BlockCheckMode) -> PResult<'a, P<Block>> {
326
let mut stmts = vec![];
327
while !self.eat(&token::CloseDelim(token::Brace)) {
328
if self.token == token::Eof {
0 commit comments