rustc_hir_analysis::coherence::builtin

Function check_trait

Source
pub(super) fn check_trait<'tcx>(
    tcx: TyCtxt<'tcx>,
    trait_def_id: DefId,
    impl_def_id: LocalDefId,
    impl_header: ImplTraitHeader<'tcx>,
) -> Result<(), ErrorGuaranteed>