Function rustc_hir_analysis::check::compare_method::raw_compare_const_impl
source · pub(crate) fn raw_compare_const_impl<'tcx>(
tcx: TyCtxt<'tcx>,
(impl_const_item_def, trait_const_item_def): (LocalDefId, DefId)
) -> Result<(), ErrorGuaranteed>
Expand description
Use tcx.compare_assoc_const_impl_item_with_trait_item
instead