fork/rust

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

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

master
449 B17 linesraw
1error: overly complex generic constant
2  --> $DIR/issue-67945-2.rs:7:13
3   |
4LL |       A: [(); {
5   |  _____________^
6LL | |
7LL | |         let x: Option<Box<Self>> = None;
8LL | |
9LL | |         0
10LL | |     }],
11   | |_____^ blocks are not supported in generic constants
12   |
13   = help: consider moving this anonymous constant into a `const` function
14   = note: this operation may be supported in the future
15
16error: aborting due to previous error
17