Address review comments
This commit is contained in:
parent
0b411f56e1
commit
3321d70161
6 changed files with 201 additions and 179 deletions
|
@ -108,7 +108,7 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
},
|
||||
NonterminalKind::Block => {
|
||||
// While an block *expression* may have attributes (e.g. `#[my_attr] { ... }`),
|
||||
// While a block *expression* may have attributes (e.g. `#[my_attr] { ... }`),
|
||||
// the ':block' matcher does not support them
|
||||
token::NtBlock(self.collect_tokens_no_attrs(|this| this.parse_block())?)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue