SolverDelegate add assoc type for Infcx

This commit is contained in:
lcnr 2024-10-17 11:38:40 +02:00
parent 06d261daf6
commit c45073ec3e
2 changed files with 3 additions and 3 deletions

View file

@ -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> {