4 const CR: &'static mut i32 = &mut C; //~ ERROR mutable references are not allowed
5 //~| WARN taking a mutable
6 static STATIC_REF: &'static mut i32 = &mut X; //~ ERROR cannot borrow
8 //~| ERROR mutable references are not allowed
10 static CONST_REF: &'static mut i32 = &mut C; //~ ERROR mutable references are not allowed
11 //~| WARN taking a mutable