1 2 3 4 5 6 7 8 9
const FOO: *const u32 = { let x; &x //~ ERROR E0381 }; fn main() { let FOO = FOO; //~^ ERROR could not evaluate constant pattern }