rust/compiler/rustc_parse/src/parser
bors 3182375e06 Auto merge of #81405 - bugadani:ast, r=cjgillot
Box the biggest ast::ItemKind variants

This PR is a different approach on https://github.com/rust-lang/rust/pull/81400, aiming to save memory in humongous ASTs.

The three affected item kind enums are:
 - `ast::ItemKind` (208 -> 112 bytes)
 - `ast::AssocItemKind` (176 -> 72 bytes)
 - `ast::ForeignItemKind` (176 -> 72 bytes)
2021-02-02 17:34:08 +00:00
..
attr.rs Set tokens on AST node in collect_tokens 2021-01-13 22:10:36 -05:00
diagnostics.rs Improve handling of spans around macro result parse errors 2021-01-31 15:24:34 -05: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 Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
mod.rs Clone entire TokenCursor when collecting tokens 2021-01-28 09:47:59 -05:00
nonterminal.rs Bump rustfmt version 2021-02-02 09:09:52 -05:00
pat.rs Fix typo in pat.rs 2021-01-29 23:30:55 +09: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