rust/compiler/rustc_parse/src
Aaron Hill 11b1e37016
Force token collection to run when parsing nonterminals
Fixes #81007

Previously, we would fail to collect tokens in the proper place when
only builtin attributes were present. As a result, we would end up with
attribute tokens in the collected `TokenStream`, leading to duplication
when we attempted to prepend the attributes from the AST node.

We now explicitly track when token collection must be performed due to
nomterminal parsing.
2021-01-20 18:09:32 -05:00
..
lexer Fix typo in doc comment for report_too_many_hashes 2020-11-22 07:02:58 -03:00
parser Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -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