4 pub static x: *const usize;
6 pub fn foo(value: *const X) -> *const X {
11 static foo: *const Y::X = Y::foo(Y::x as *const Y::X);
12 //~^ ERROR `*const usize` cannot be shared between threads safely [E0277]
14 //~| ERROR use of extern static is unsafe and requires