Sign in
fuchsia
/
third_party
/
rust
/
4ecd94e1215882efde5f003c0042bd72a5f8acb2
/
.
/
src
/
test
/
ui
/
issues
/
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
()
{}