Function rustc_trait_selection::error_reporting::traits::fulfillment_errors::report_object_safety_error
source ยท pub fn report_object_safety_error<'tcx>(
tcx: TyCtxt<'tcx>,
span: Span,
hir_id: Option<HirId>,
trait_def_id: DefId,
violations: &[ObjectSafetyViolation],
) -> Diag<'tcx>