Ty::new_ref and Ty::new_ptr stop using TypeAndMut
This commit is contained in:
parent
81e7e80990
commit
f0f224a37f
23 changed files with 68 additions and 125 deletions
|
@ -191,7 +191,7 @@ pub fn check_intrinsic_type(
|
|||
ty::BoundRegion { var: ty::BoundVar::from_u32(2), kind: ty::BrEnv },
|
||||
);
|
||||
let va_list_ty = tcx.type_of(did).instantiate(tcx, &[region.into()]);
|
||||
(Ty::new_ref(tcx, env_region, ty::TypeAndMut { ty: va_list_ty, mutbl }), va_list_ty)
|
||||
(Ty::new_ref(tcx, env_region, va_list_ty, mutbl), va_list_ty)
|
||||
})
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue