rust/compiler/rustc_parse/src/parser
Aaron Hill 5d739180cd
Clone entire TokenCursor when collecting tokens
Reverts PR #80830
Fixes taiki-e/pin-project#312

We can have an arbitrary number of `None`-delimited group frames pushed
on the stack due to proc-macro invocations, which can legally be exited.
Attempting to account for this would add a lot of complexity for a tiny
performance gain, so let's just use the original strategy.
2021-01-28 09:47:59 -05:00
..
attr.rs Set tokens on AST node in collect_tokens 2021-01-13 22:10:36 -05:00
diagnostics.rs improve diagnostics for angle args 2021-01-22 17:07:27 +01:00
expr.rs Parse loop labels missing a leading ' 2021-01-21 21:41:47 -08:00
generics.rs make const_generics_defaults use the unstable syntax mechanism 2021-01-01 11:01:01 +01:00
item.rs Refactor token collection to capture trailing token immediately 2021-01-22 00:33:03 -05:00
mod.rs Clone entire TokenCursor when collecting tokens 2021-01-28 09:47:59 -05:00
nonterminal.rs Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05:00
pat.rs Implement edition-based macro pat feature 2020-12-30 09:57:49 -06:00
path.rs Point only at generic arguments when they are unexpected 2021-01-26 15:59:43 -08:00
stmt.rs Refactor token collection to capture trailing token immediately 2021-01-22 00:33:03 -05:00
ty.rs Address review comments 2020-12-17 14:12:48 +01:00