fork/rust

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

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

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