Open
Description
We don't currently guarantee that pub const FOO: &'static u32 = &0;
has a stable address (same with string literals). This has had some suprising results in the past (I cannot find the miri issue I was looking for). What, if anything, do we want to guarantee with respect to this (and code like pub const FOO: *const u32 = &0 as *const u32;
)