pub fn collect_static_mut_checkpoints<'tcx>(
tcx: TyCtxt<'tcx>,
def_id: DefId,
) -> Vec<Checkpoint<'tcx>>Expand description
Collect checkpoints for mutable static accesses in def_id.
Mutable statics appear as Constant operands whose check_static_ptr points
to a static mut item. Both reads and writes are detected here; the
conservative Init property will be checked regardless of direction.