]>
git.proxmox.com Git - rustc.git/blob - tests/ui/const-generics/const-arg-type-arg-misordered.rs
1 type Array
<T
, const N
: usize> = [T
; N
];
3 fn foo
<const N
: usize>() -> Array
<N
, ()> {
4 //~^ ERROR constant provided when a type was expected