AliasTy::new instead of tcx method
This commit is contained in:
parent
6d7160ce97
commit
306a7ea8b4
15 changed files with 46 additions and 39 deletions
|
|
@ -1133,7 +1133,7 @@ pub fn make_projection<'tcx>(
|
|||
#[cfg(debug_assertions)]
|
||||
assert_generic_args_match(tcx, assoc_item.def_id, args);
|
||||
|
||||
Some(tcx.mk_alias_ty(assoc_item.def_id, args))
|
||||
Some(ty::AliasTy::new(tcx, assoc_item.def_id, args))
|
||||
}
|
||||
helper(
|
||||
tcx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue