Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
consts
/
issue-28113.rs
blob: f8131c9f3b717107d5d2530b29490d79adfdc163 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
const
X
:
u8
=
||
->
u8
{
5
}()
//~^ ERROR cannot call non-const closure
;
fn
main
()
{}