Function check_unsafety

Source
pub(crate) fn check_unsafety(tcx: TyCtxt<'_>, def: LocalDefId)