mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
The same basic idea from the previous commit applies: the tokens are only sometimes needed and we can store them next to the `AttrItem` (using `WithTokens`) instead of inside the `AttrItem`. The change is a bit more complex because more than just `parse_nonterminal` is involved (e.g. `parse_attr_item`, `parse_cfg_attr`, `expand_cfg_attr_item`).