Function rustc_mir_transform::dest_prop::find_candidates
source ยท fn find_candidates<'alloc, 'tcx>(
body: &Body<'tcx>,
borrowed: &BitSet<Local>,
candidates: &'alloc mut FxIndexMap<Local, Vec<Local>>,
candidates_reverse: &'alloc mut FxIndexMap<Local, Vec<Local>>,
) -> Candidates<'alloc>
Expand description
Collects the candidates for merging
This is responsible for enforcing the first and third bullet point.