get_unsafe_callees

Function get_unsafe_callees 

Source
pub fn get_unsafe_callees(tcx: TyCtxt<'_>, def_id: DefId) -> HashSet<DefId>
Expand description

Scans MIR for calls to unsafe functions and returns the set of callee DefIds.