AliasTy::new instead of tcx method
This commit is contained in:
parent
9ee26d078d
commit
d9dc5ee072
@ -1133,7 +1133,7 @@ fn helper<'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…
Reference in New Issue
Block a user