11 lines
394 B
Plaintext
11 lines
394 B
Plaintext
error: pointers cannot be reliably compared during const eval
|
|
--> $DIR/E0395.rs:4:29
|
|
|
|
|
LL | static BAZ: bool = unsafe { (&FOO as *const i32) == (&BAR as *const i32) };
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #53020 <https://github.com/rust-lang/rust/issues/53020> for more information
|
|
|
|
error: aborting due to previous error
|
|
|