pub fn prohibit_assoc_item_binding(
tcx: TyCtxt<'_>,
span: Span,
segment: Option<(&PathSegment<'_>, Span)>
) -> ErrorGuaranteed
Expand description
Emits an error regarding forbidden type binding associations
pub fn prohibit_assoc_item_binding(
tcx: TyCtxt<'_>,
span: Span,
segment: Option<(&PathSegment<'_>, Span)>
) -> ErrorGuaranteed
Emits an error regarding forbidden type binding associations