Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
different-fn-ptr-binders-during-ctfe.rs
blob: b378542e5730c12e1a93ee318ca173a7a596907b [
file
] [
log
] [
blame
] [
edit
]
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
()
{}