fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
353 B14 linesraw
1error: generic parameters with a default must be trailing
2  --> $DIR/wrong-order.rs:1:10
3   |
4LL | struct A<T = u32, const N: usize> {
5   |          ^
6
7error: generic parameters with a default must be trailing
8  --> $DIR/wrong-order.rs:6:18
9   |
10LL | struct Foo<const N: u8 = 3, T>(T);
11   |                  ^
12
13error: aborting due to 2 previous errors
14