Remove redundant type parameter
This commit is contained in:
parent
8951342911
commit
269d5a322e
10 changed files with 98 additions and 87 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue