1
Fork 0

improve infer var handling for implied bounds

This commit is contained in:
lcnr 2022-09-19 14:59:52 +02:00
parent efa717bc2d
commit 71f8fd5c58
4 changed files with 41 additions and 34 deletions

View file

@ -140,6 +140,7 @@ pub(crate) fn compare_impl_method<'tcx>(
///
/// Finally we register each of these predicates as an obligation and check that
/// they hold.
#[instrument(level = "debug", skip(tcx, impl_m_span, impl_trait_ref))]
fn compare_predicate_entailment<'tcx>(
tcx: TyCtxt<'tcx>,
impl_m: &AssocItem,