summary refs log tree commit diff
path: root/src/test/ui/const-generics/defaults/wrong-order.min.stderr
blob: 29a46367004d44b3a6185858f5d5a5f0069d38ee (plain)
1
2
3
4
5
6
7
8
9
10
error: type parameters with a default must be trailing
  --> $DIR/wrong-order.rs:5:10
   |
LL | struct A<T = u32, const N: usize> {
   |          ^
   |
   = note: using type defaults and const parameters in the same parameter list is currently not permitted

error: aborting due to previous error