blob: 4e12f7a8c6e6966d75d26f447f4953d70fea520a (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0747]: constant provided when a type was expected
--> $DIR/const-arg-type-arg-misordered.rs:3:35
|
LL | fn foo<const N: usize>() -> Array<N, ()> {
| ^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0747`.
|