AliasTy::new instead of tcx method
This commit is contained in:
@@ -437,7 +437,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||
);
|
||||
|
||||
let quiet_projection_ty =
|
||||
tcx.mk_alias_ty(projection_ty.def_id, args_with_infer_self);
|
||||
ty::AliasTy::new(tcx, projection_ty.def_id, args_with_infer_self);
|
||||
|
||||
let term = pred.skip_binder().term;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user