Rollup merge of #131825 - lcnr:probe-no-more-leak-2, r=compiler-errors
SolverDelegate add assoc type for Infcx makes writing trait bounds on it a lot nicer going forward. r? `@compiler-errors`
This commit is contained in:
commit
405eb4178e
2 changed files with 3 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue