rust/compiler/rustc_parse/src
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
..
lexer Fix typo in doc comment for report_too_many_hashes 2020-11-22 07:02:58 -03:00
parser Set tokens on AST node in collect_tokens 2021-01-13 22:10:36 -05:00
lib.rs Auto merge of #80789 - Aaron1011:fix/stmt-empty, r=petrochenkov 2021-01-10 17:58:38 +00:00
validate_attr.rs ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00