Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit dadf937

Browse files
olioli-obk
authored andcommitted
Remove mir encode calls that didn't actually encode anything
1 parent 552f391 commit dadf937

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

compiler/rustc_metadata/src/rmeta/encoder.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,6 @@ impl EncodeContext<'a, 'tcx> {
758758
self.encode_generics(def_id);
759759
self.encode_explicit_predicates(def_id);
760760
self.encode_inferred_outlives(def_id);
761-
self.encode_optimized_mir(def_id.expect_local());
762-
self.encode_promoted_mir(def_id.expect_local());
763761
}
764762

765763
fn encode_enum_variant_ctor(&mut self, def: &ty::AdtDef, index: VariantIdx) {

0 commit comments

Comments
 (0)