rust/compiler/rustc_ast/src
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
..
ast
attr ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00
expand
util ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00
ast.rs Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkov 2021-01-15 05:36:48 +00:00
crate_disambiguator.rs
entry.rs
lib.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
mut_visit.rs Rework diagnostics for wrong number of generic args 2021-01-10 13:07:40 +01:00
node_id.rs
ptr.rs
token.rs rustc_parse: Better spans for synthesized token streams 2021-01-07 17:48:13 +03:00
tokenstream.rs Edit rustc_ast::tokenstream docs 2021-01-03 11:54:56 -08:00
visit.rs ast: Remove some indirection layers from values in key-value attributes 2021-01-09 21:50:39 +03:00