Skip to content

Commit fcee0e4

Browse files
committed
Auto merge of #116887 - lcnr:alias-ty-constructor, r=compiler-errors
`TyCtxt::mk_alias_ty` -> `AliasTy::new`
2 parents 9a2d255 + 53b4670 commit fcee0e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1133,7 +1133,7 @@ pub fn make_projection<'tcx>(
11331133
#[cfg(debug_assertions)]
11341134
assert_generic_args_match(tcx, assoc_item.def_id, args);
11351135

1136-
Some(tcx.mk_alias_ty(assoc_item.def_id, args))
1136+
Some(ty::AliasTy::new(tcx, assoc_item.def_id, args))
11371137
}
11381138
helper(
11391139
tcx,

0 commit comments

Comments
 (0)