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