1
Fork 0

Give const_deallocate a default body

This commit is contained in:
Oli Scherer 2024-01-31 20:51:29 +00:00
parent 9a0743747f
commit 6b73fe2d09
4 changed files with 18 additions and 25 deletions

View file

@ -367,7 +367,7 @@ pub fn check_intrinsic_type(
}
sym::const_deallocate => (
0,
0,
1,
vec![Ty::new_mut_ptr(tcx, tcx.types.u8), tcx.types.usize, tcx.types.usize],
Ty::new_unit(tcx),
),