rust/compiler/rustc_mir_build/src
bors 754d17121d Auto merge of #85195 - Mark-Simulacrum:variant-by-idx, r=petrochenkov
Store VariantIdx to distinguish enum variants

This saves ~24% of the instructions on the match-stress-enum benchmark, but I'm not 100% sure that this is OK - if we ever compare two constructors across enums (e.g., a Result and an Option), then this is obviously insufficient; I can experiment with continuing to store the DefId for comparison purposes in that case.
2021-05-14 00:59:01 +00:00
..
build Auto merge of #84295 - richkadel:continue-coverage, r=tmandry 2021-04-20 03:08:24 +00:00
thir Auto merge of #85195 - Mark-Simulacrum:variant-by-idx, r=petrochenkov 2021-05-14 00:59:01 +00:00
check_unsafety.rs Add helper for switching safety contexts 2021-05-11 20:35:44 +02:00
lib.rs Introduce the (WIP) THIR unsafety checker 2021-05-11 15:33:00 +02:00
lints.rs Do not store attrs in FnKind. 2021-03-09 19:09:33 +01:00