]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/issues/issue-73491.rs
3 #![cfg_attr(full, feature(const_generics))]
4 #![cfg_attr(full, allow(incomplete_features))]
6 const LEN
: usize = 1024;
8 fn hoge
<const IN
: [u32; LEN
]>() {}
9 //[min]~^ ERROR `[u32; _]` is forbidden as the type of a const generic parameter