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

        let lo = self.span.lo;

        if !self.eat(&token::OpenDelim(token::Brace)) {
            let sp = self.span;
            let tok = self.this_token_to_string();
            return Err(self.span_fatal_help(sp,
                                 &format!("expected `{{`, found `{}`", tok),
                                 "place this code inside a block"));
        }

        self.parse_block_tail(lo, BlockCheckMode::Default)
    }
/// Parse a block. No inner attrs are allowed.
Parse a block. No inner attrs are allowed.
Parse a block . No inner attrs are allowed .
pub fn parse_block(&mut self) -> PResult<'a, P<Block>> {
        maybe_whole!(no_clone self, NtBlock);
        let lo = self.span.lo;
        if !self.eat(&token::OpenDelim(token::Brace)) {
            let sp = self.span;
            let tok = self.this_token_to_string();
            return Err(self.span_fatal_help(sp,
                                 &format!("expected `{{`, found `{}`", tok),
                                 "place this code inside a block"));
        }
        self.parse_block_tail(lo, BlockCheckMode::Default)
    }
pub fn parse_block ( & mut self ) -> PResult < ' a , P < Block > > { maybe_whole ! ( no_clone self NtBlock ) ; let lo = self . span . lo ; if ! self . eat ( & token :: OpenDelim ( token :: Brace ) ) { let sp = self . span ; let tok = self . this_token_to_string ( ) ; return Err ( self . span_fatal_help ( sp , & format ! ( " " tok ) , " " ) ) ; } self . parse_block_tail ( lo , BlockCheckMode :: Default ) }
Parse a block.
Parse a block .
&mut self
&mut self