pub(crate) fn thir_check_unsafety_for_const_arg( tcx: TyCtxt<'_>, (did, param_did): (LocalDefId, DefId) )