summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/min_const_generics/const_default_first.stderr
blob: b800c6d77b0a49cdaed6439326395e68b2de4ab3 (plain)
1
2
3
4
5
6
7
8
error: generic parameters with a default must be trailing
  --> $DIR/const_default_first.rs:4:19
   |
LL | struct Both<const N: usize=3, T> {
   |                   ^

error: aborting due to 1 previous error