Remove redundant check

This commit is contained in:
mejrs
2025-04-26 01:57:08 +02:00
parent 49e5e4e3a5
commit 1ec3e626c2

View File

@@ -730,7 +730,6 @@ pub(crate) fn check_item_type(tcx: TyCtxt<'_>, def_id: LocalDefId) {
.is_ok()
{
check_impl_items_against_trait(tcx, def_id, impl_trait_header);
check_on_unimplemented(tcx, def_id);
}
}
}