pub fn prohibit_assoc_item_binding(
    tcx: TyCtxt<'_>,
    binding: &TypeBinding<'_>,
    segment: Option<(DefId, &PathSegment<'_>, Span)>
) -> ErrorGuaranteed
Expand description

Emits an error regarding forbidden type binding associations