pub fn collect_global_local_pairs(
tcx: TyCtxt<'_>,
def_id: DefId,
) -> HashMap<DefId, Vec<Local>>Expand description
Collects pairs of global static variables and their corresponding local variables within a function’s MIR that are assigned from statics.