fork/rust

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

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

master
575 B15 linesraw
1error: generic parameters with a default must be trailing
2  --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:8:12
3   |
4LL | struct Bar<T = [u8; N], const N: usize>(T);
5   |            ^
6
7error[E0128]: generic parameters with a default cannot use forward declared identifiers
8  --> $DIR/params-in-ct-in-ty-param-lazy-norm.rs:8:21
9   |
10LL | struct Bar<T = [u8; N], const N: usize>(T);
11   |                     ^ defaulted generic parameters cannot be forward declared
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0128`.