From c45073ec3ea800b31e634db9de1b51f978521ad5 Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 17 Oct 2024 11:38:40 +0200 Subject: SolverDelegate add assoc type for Infcx --- compiler/rustc_trait_selection/src/solve/delegate.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_trait_selection/src/solve') diff --git a/compiler/rustc_trait_selection/src/solve/delegate.rs b/compiler/rustc_trait_selection/src/solve/delegate.rs index df9ac2b80fd..b13965db18b 100644 --- a/compiler/rustc_trait_selection/src/solve/delegate.rs +++ b/compiler/rustc_trait_selection/src/solve/delegate.rs @@ -36,6 +36,7 @@ impl<'tcx> Deref for SolverDelegate<'tcx> { } impl<'tcx> rustc_next_trait_solver::delegate::SolverDelegate for SolverDelegate<'tcx> { + type Infcx = InferCtxt<'tcx>; type Interner = TyCtxt<'tcx>; fn cx(&self) -> TyCtxt<'tcx> { -- cgit 1.4.1-3-g733a5