We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5562bb6 commit 2ad46acCopy full SHA for 2ad46ac
compiler/rustc_mir/src/transform/early_otherwise_branch.rs
@@ -91,7 +91,7 @@ impl<'tcx> MirPass<'tcx> for EarlyOtherwiseBranch {
91
let not_equal_rvalue = Rvalue::BinaryOp(
92
not_equal,
93
Operand::Copy(Place::from(second_discriminant_temp)),
94
- Operand::Copy(Place::from(first_descriminant_place)),
+ Operand::Copy(first_descriminant_place),
95
);
96
patch.add_statement(
97
end_of_block_location,
0 commit comments