Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force token collection to run when parsing nonterminals
Fixes rust-lang#81007 Previously, we would fail to collect tokens in the proper place when only builtin attributes were present. As a result, we would end up with attribute tokens in the collected `TokenStream`, leading to duplication when we attempted to prepend the attributes from the AST node. We now explicitly track when token collection must be performed due to nomterminal parsing.
- Loading branch information