]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/defaults/wrong-order.min.stderr
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
[rust.git] / src / test / ui / const-generics / defaults / wrong-order.min.stderr
1 error: type parameters with a default must be trailing
2   --> $DIR/wrong-order.rs:5:10
3    |
4 LL | struct A<T = u32, const N: usize> {
5    |          ^
6    |
7    = note: using type defaults and const parameters in the same parameter list is currently not permitted
8
9 error: aborting due to previous error
10