mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 23:24:24 +00:00
AliasTy::new instead of tcx method
This commit is contained in:
parent
9ee26d078d
commit
d9dc5ee072
1 changed files with 1 additions and 1 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…
Reference in a new issue