fork/rust

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

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

master
260 B8 linesraw
1error: defaults for type parameters are only allowed in `struct`, `enum`, `type`, or `trait` definitions
2  --> $DIR/parameter-defaults.rs:10:12
3   |
4LL | const NONE<T = ()>: Option<T> = None::<T>;
5   |            ^^^^^^
6
7error: aborting due to previous error
8