Move TyCtxt::mk_x
to Ty::new_x
where applicable
This commit is contained in:
parent
5dac6b320b
commit
12138b8e5e
164 changed files with 1386 additions and 1185 deletions
|
@ -453,7 +453,7 @@ impl<'ll, 'tcx> DebugInfoMethods<'tcx> for CodegenCx<'ll, 'tcx> {
|
|||
ty::Array(ct, _)
|
||||
if (*ct == cx.tcx.types.u8) || cx.layout_of(*ct).is_zst() =>
|
||||
{
|
||||
cx.tcx.mk_imm_ptr(*ct)
|
||||
Ty::new_imm_ptr(cx.tcx, *ct)
|
||||
}
|
||||
_ => t,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue