about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-02 17:34:08 +0000
committerbors <bors@rust-lang.org>2021-02-02 17:34:08 +0000
commit448a97bf528edc93e33beb85336bd9a14e20b9b0 (patch)
tree836fb73e546203bf37d410df57fe9b2cdb184938 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent9607b5c6ac2d6b3d2117c8d5868435581c5e67d1 (diff)
parent6fd01e0b6e04e41d54b8cd95bbf5bc0f907391cb (diff)
downloadrust-448a97bf528edc93e33beb85336bd9a14e20b9b0.tar.gz
rust-448a97bf528edc93e33beb85336bd9a14e20b9b0.zip
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)
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions