pub fn prohibit_assoc_item_constraint(
    cx: &dyn HirTyLowerer<'_>,
    constraint: &AssocItemConstraint<'_>,
    segment: Option<(DefId, &PathSegment<'_>, Span)>,
) -> ErrorGuaranteed
Expand description

Emit an error for the given associated item constraint.