Sign in
◑
Theme
rust
/
rust
/
2a61ba8577ed3c3e1cfeb433d06cf5464ff2fdf3
/
.
/
tests
/
ui
/
const-generics
/
mgca
/
array-expr-empty.rs
blob: 41dfb5e6f87471065321202fd8e911ff9915c4d9 [
file
]
#![
expect
(
incomplete_features
)]
#![
feature
(
gca_min_const_items
)]
fn
takes_empty_array
<
const
A
:
[]>()
{}
//~^ ERROR: expected type, found `]`
fn
main
()
{
takes_empty_array
::<{
[]
}>();
}