blob: ad38754c7412e74057a30e76d75284f969e9db4c (
plain)
1
2
3
4
5
6
7
8
|
error: type parameters must be declared prior to const parameters
--> $DIR/type-after-const-ok.rs:8:26
|
LL | struct A<const N: usize, T>(T);
| -----------------^- help: reorder the parameters: lifetimes, then types, then consts: `<T, const N: usize>`
error: aborting due to previous error
|