1
Fork 0

Remove redundant type parameter

This commit is contained in:
Michael Goulet 2023-10-20 22:10:58 -07:00
parent 8951342911
commit 269d5a322e
10 changed files with 98 additions and 87 deletions

View file

@ -341,7 +341,9 @@ pub struct InferCtxt<'tcx> {
next_trait_solver: bool,
}
impl<'tcx> ty::InferCtxtLike<TyCtxt<'tcx>> for InferCtxt<'tcx> {
impl<'tcx> ty::InferCtxtLike for InferCtxt<'tcx> {
type Interner = TyCtxt<'tcx>;
fn universe_of_ty(&self, ty: ty::InferTy) -> Option<ty::UniverseIndex> {
use InferTy::*;
match ty {