fn dyn_compatibility_violations_for_trait( tcx: TyCtxt<'_>, trait_def_id: DefId, ) -> Vec<DynCompatibilityViolation>