pub fn parse_block(&mut self) -> PResult<'a, P<Block>> {
        maybe_whole!(self, NtBlock, |x| x);

        let lo = self.token.span;

        if !self.eat(&token::OpenDelim(token::Brace)) {
            return self.error_block_no_opening_brace();
        }

        self.parse_block_tail(lo, BlockCheckMode::Default)
    }
/// Parses a block. No inner attributes are allowed.
Parses a block. No inner attributes are allowed.
Parses a block . No inner attributes are allowed .
pub fn parse_block(&mut self) -> PResult<'a, P<Block>> {
        maybe_whole!(self, NtBlock, |x| x);
        let lo = self.token.span;
        if !self.eat(&token::OpenDelim(token::Brace)) {
            return self.error_block_no_opening_brace();
        }
        self.parse_block_tail(lo, BlockCheckMode::Default)
    }
pub fn parse_block ( & mut self ) -> PResult < ' a , P < Block > > { maybe_whole ! ( self NtBlock x x ) ; let lo = self . token . span ; if ! self . eat ( & token :: OpenDelim ( token :: Brace ) ) { return self . error_block_no_opening_brace ( ) ; } self . parse_block_tail ( lo , BlockCheckMode :: Default ) }
Parses a block.
Parses a block .
&mut self