1 #![feature(raw_ref_op)]
3 const A: () = { let mut x = 2; &raw mut x; }; //~ ERROR `&raw mut` is not allowed
5 static B: () = { let mut x = 2; &raw mut x; }; //~ ERROR `&raw mut` is not allowed
7 static mut C: () = { let mut x = 2; &raw mut x; }; //~ ERROR `&raw mut` is not allowed
11 let y = &raw mut x; //~ ERROR `&raw mut` is not allowed