]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/type-after-const-ok.min.stderr
Move generic error message to separate branches
[rust.git] / src / test / ui / const-generics / type-after-const-ok.min.stderr
1 error: type parameters must be declared prior to const parameters
2   --> $DIR/type-after-const-ok.rs:8:26
3    |
4 LL | struct A<const N: usize, T>(T);
5    |         -----------------^- help: reorder the parameters: lifetimes, then types, then consts: `<T, const N: usize>`
6
7 error: aborting due to previous error
8