Sign in
android
/
toolchain
/
rustc
/
59fbe18bc79ed87d0c5f02705e7cf19e402e1f2b
/
.
/
src
/
test
/
ui
/
const-generics
/
min_const_generics
/
static-reference-array-const-param.rs
blob: 7518dc59e599c89ee05a5a4531638f46d7010b94 [
file
] [
log
] [
blame
]
fn
a
<
const
X
:
&
'
static
[
u32
]>()
{}
//~^ ERROR `&'static [u32]` is forbidden as the type of a const generic parameter
fn
main
()
{
a
::<{&[]}>();
}