blob: cc7d94e22eb6b8e5056fbde0d08a361daec684d5 [file] [log] [blame]
error[E0658]: comparing raw pointers inside static (see issue #53020)
--> $DIR/E0395.rs:6:29
|
LL | static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR issue #53020
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(const_compare_raw_pointers)] to the crate attributes to enable
error: aborting due to previous error
For more information about this error, try `rustc --explain E0658`.