AliasTy::new instead of tcx method
This commit is contained in:
parent
6d7160ce97
commit
306a7ea8b4
15 changed files with 46 additions and 39 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue