rust/compiler/rustc_parse
bors dcf622eb70 Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkov
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-15 05:36:48 +00:00
..
src Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkov 2021-01-15 05:36:48 +00:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00