1 error[E0747]: constant provided when a type was expected
2 --> $DIR/const-arg-type-arg-misordered.rs:3:35
4 LL | fn foo<const N: usize>() -> Array<N, ()> {
7 = note: type arguments must be provided before constant arguments
8 = help: reorder the arguments: types, then consts: `<T, N>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0747`.