rust/compiler/rustc_hir/src
Nicholas Nethercote f07d4efc45 Shrink hir::def::Res.
`Res::SelfTy` currently has two `Option`s. When the second one is `Some`
the first one is never consulted. So we can split it into two variants,
`Res::SelfTyParam` and `Res::SelfTyAlias`, reducing the size of `Res`
from 24 bytes to 12. This then shrinks `hir::Path` and
`hir::PathSegment`, which are the HIR types that take up the most space.
2022-09-29 08:44:52 +10:00
..
arena.rs Add an indirection for closures in hir::ExprKind 2022-07-12 21:00:13 +04:00
def_path_hash_map.rs Use on-disk-hash-table format for DefPathHashMap in hir::definitions. 2021-09-14 13:54:41 +02:00
def.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
definitions.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
diagnostic_items.rs Introduce get_diagnostic_name 2021-10-06 08:40:28 -05:00
errors.rs have LangItemError derive everything LangItem does 2022-08-25 11:06:45 -06:00
hir_id.rs separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
hir.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
intravisit.rs Do not overwrite binders for another HirId. 2022-09-27 18:58:37 +02:00
lang_items.rs Auto merge of #100251 - compiler-errors:tuple-trait-2, r=jackh726 2022-09-12 03:24:29 +00:00
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
pat_util.rs Introduce DotDotPos. 2022-09-08 15:25:50 +10:00
stable_hash_impls.rs separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
target.rs Handle generic parameters. 2022-09-09 01:31:46 +00:00
tests.rs Revert "Revert "Fix test"" 2021-07-06 11:28:06 +02:00
weak_lang_items.rs change stdlib circular dependencies handling 2022-09-06 14:05:54 +04:00