Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
86e0ff47a0d1afcbe9f0c8cdb54f60bb18da20df
/
.
/
src
/
test
/
ui
/
consts
/
issue-28113.rs
blob: e5bd7aafe41e6559c8867fa0b05baaa4e8a42521 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
const
X
:
u8
=
||
->
u8
{
5
}()
//~^ ERROR calls in constants are limited to constant functions
;
fn
main
()
{}