Sign in
fuchsia
/
third_party
/
rust
/
f8ebe8d783e20c44508fab32b708f1b9d9a4bf13
/
.
/
tests
/
ui
/
consts
/
different-fn-ptr-binders-during-ctfe.rs
blob: b378542e5730c12e1a93ee318ca173a7a596907b [
file
] [
log
] [
blame
]
const
fn
cmp
(
x
:
fn
(&
'static ()), y: for<'
a
>
fn
(&
'
a
()))
->
bool
{
x
==
y
//~^ ERROR pointers cannot be reliably compared during const eval
}
fn
main
()
{}