Function rustc_typeck::coherence::orphan::emit_orphan_check_error[−][src]

fn emit_orphan_check_error<'tcx>(
    tcx: TyCtxt<'tcx>,
    sp: Span,
    trait_span: Span,
    self_ty_span: Span,
    generics: &Generics<'tcx>,
    err: OrphanCheckErr<'tcx>
) -> Result<!, ErrorReported>