blob: 5345f77fd392eb0d1df21d8ad5f4b433807d55e5 (
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 1 previous error
For more information about this error, try `rustc --explain E0747`.
|