]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-67945-2.full.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / const-generics / issues / issue-67945-2.full.stderr
1 error: overly complex generic constant
2   --> $DIR/issue-67945-2.rs:7:13
3    |
4 LL |       A: [(); {
5    |  _____________^
6 LL | |
7 LL | |         let x: Option<Box<Self>> = None;
8 LL | |
9 LL | |         0
10 LL | |     }],
11    | |_____^ blocks are not supported in generic constant
12    |
13    = help: consider moving this anonymous constant into a `const` function
14    = note: this operation may be supported in the future
15
16 error: aborting due to previous error
17