blob: ea05920dea79b99ff891a5b6e6ac1c06b2635ce4 (
plain)
1
2
3
4
5
6
7
8
9
|
error[E0747]: constant provided when a type was expected
--> $DIR/const_arg_in_type_position.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`.
|