pub fn prohibit_assoc_item_constraint(
tcx: TyCtxt<'_>,
constraint: &AssocItemConstraint<'_>,
segment: Option<(DefId, &PathSegment<'_>, Span)>,
) -> ErrorGuaranteedExpand description
Emit an error for the given associated item constraint.