]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/const-arg-type-arg-misordered.rs
2 #![cfg_attr(full, feature(const_generics))]
3 #![cfg_attr(full, allow(incomplete_features))]
5 type Array
<T
, const N
: usize> = [T
; N
];
7 fn foo
<const N
: usize>() -> Array
<N
, ()> {
8 //~^ ERROR constant provided when a type was expected