pub fn get_unsafe_callees(tcx: TyCtxt<'_>, def_id: DefId) -> HashSet<DefId>
Scans MIR for calls to unsafe functions and returns the set of callee DefIds.