]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/const-arg-type-arg-misordered.full.stderr
Add revisions to const generic type-dependent UI tests.
[rust.git] / src / test / ui / const-generics / const-arg-type-arg-misordered.full.stderr
1 error[E0747]: constant provided when a type was expected
2   --> $DIR/const-arg-type-arg-misordered.rs:8:35
3    |
4 LL | fn foo<const N: usize>() -> Array<N, ()> {
5    |                                   ^
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0747`.