[−][src]Function rustc_typeck::impl_wf_check::enforce_impl_items_are_distinct

pub(in impl_wf_check) fn enforce_impl_items_are_distinct(
    tcx: TyCtxt<'_>,
    impl_item_refs: &[ImplItemRef<'_>]
)

Enforce that we do not have two items in an impl with the same name.