rust/compiler/rustc_resolve/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
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
access_levels.rs resolve: Set effective visibilities for imports more precisely 2022-09-22 15:00:24 +03:00
build_reduced_graph.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
check_unused.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
def_collector.rs Only generate closure def id for async fns with body 2022-09-25 23:03:15 +00:00
diagnostics.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
ident.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
imports.rs resolve: Set effective visibilities for imports more precisely 2022-09-22 15:00:24 +03:00
late.rs Shrink hir::def::Res. 2022-09-29 08:44:52 +10:00
lib.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
macros.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00