rust/compiler/rustc_parse
Aaron Hill a961e6785c
Set tokens on AST node in collect_tokens
A new `HasTokens` trait is introduced, which is used to move logic from
the callers of `collect_tokens` into the body of `collect_tokens`.

In addition to reducing duplication, this paves the way for PR #80689,
which needs to perform additional logic during token collection.
2021-01-13 22:10:36 -05:00
..
src Set tokens on AST node in collect_tokens 2021-01-13 22:10:36 -05:00
Cargo.toml