mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
AliasTy::new instead of tcx method
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user