Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
borrowck
/
issue-88434-minimal-example.rs
blob: b75abcb731e23c9473b95f799acbdf1c6aa8865e [
file
] [
log
] [
blame
]
// Regression test related to issue 88434
const
_CONST
:
&()
=
&
f
(&|
_
|
{});
//~^ constant
const
fn
f
<
F
>(
_
:
&
F
)
where
F
:
FnMut
(&
u8
),
{
panic
!()
//~ ERROR evaluation of constant value failed
//~^ panic
}
fn
main
()
{
}