fn object_safety_violations(
    tcx: TyCtxt<'_>,
    trait_def_id: DefId
) -> &[ObjectSafetyViolation]