check_safety

Function check_safety 

Source
pub fn check_safety(tcx: TyCtxt<'_>, def_id: DefId) -> bool