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