Function rustc_mir_transform::early_otherwise_branch::may_hoist
source · fn may_hoist<'tcx>(
tcx: TyCtxt<'tcx>,
body: &Body<'tcx>,
place: Place<'tcx>
) -> bool
Expand description
Returns true if computing the discriminant of place
may be hoisted out of the branch