Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
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
()
{}