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 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0747`.