AN
Size: a a a
AN
AN
D
AN
А
А
AN
А
А
AN
А
D
А
А
А
let mut_ref = &mut *mut_ptr;
AN
D
let mut_ref = &mut *mut_ptr;
fn main() {
let mut x = 0;
let mut_ptr = &mut x as * mut _;
// ub, according to miri
/*
unsafe {
{
let mut_ref = &mut x;
*mut_ref = 2;
}
*mut_ptr;
}*/
unsafe {
{
let mut_ref = &mut *mut_ptr;
*mut_ref = 2;
}
*mut_ptr;
}
}
А
AN
ΑZ