Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
error-codes
/
E0395.rs
blob: d2edd97efb232e6bd2a34d6053ea5a79f5a4672b [
file
] [
log
] [
blame
]
static
FOO
:
i32
=
42
;
static
BAR
:
i32
=
42
;
static
BAZ
:
bool
=
unsafe
{
(&
FOO
as
*
const
i32
)
==
(&
BAR
as
*
const
i32
)
};
//~^ ERROR pointers cannot be reliably compared during const eval
fn
main
()
{
}