rust/compiler/rustc_builtin_macros/src
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
..
deriving Auto merge of #81405 - bugadani:ast, r=cjgillot 2021-02-02 17:34:08 +00:00
format_foreign mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
asm.rs rustc_parse: Make Parser::unexpected public and use it in built-in macros 2020-10-06 00:23:36 +03:00
assert.rs Only call span.rust_2021() when necessary. 2021-01-24 14:19:05 +01:00
cfg_accessible.rs expand: Tell built-in macros whether we are currently in forced expansion mode 2020-11-19 19:25:20 +03:00
cfg.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
cmdline_attrs.rs Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
compile_error.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
concat_idents.rs expand: Stop un-interpolating NtIdents before passing them to built-in macros 2020-09-28 23:10:44 +03:00
concat.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
env.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
format_foreign.rs use matches!() macro in more places 2020-12-24 13:35:12 +01:00
format.rs use matches!() macro in more places 2020-12-24 13:35:12 +01:00
global_allocator.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
global_asm.rs Attach TokenStream to ast::Visibility 2020-09-10 17:33:06 -04:00
lib.rs Auto merge of #81405 - bugadani:ast, r=cjgillot 2021-02-02 17:34:08 +00:00
llvm_asm.rs Rollup merge of #80495 - jyn514:rename-empty, r=petrochenkov 2020-12-30 20:56:58 +00:00
log_syntax.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
panic.rs Implement new panic!() behaviour for Rust 2021. 2021-01-25 13:48:11 +01:00
proc_macro_harness.rs use matches!() macro in more places 2020-12-24 13:35:12 +01:00
source_util.rs Force token collection to run when parsing nonterminals 2021-01-20 18:09:32 -05:00
standard_library_imports.rs cleanup: Remove ParseSess::injected_crate_name 2020-11-13 00:59:57 +03:00
test_harness.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
test.rs Box the biggest ast::ItemKind variants 2021-02-01 09:23:39 +01:00
trace_macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
util.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00