]> git.lizzy.rs Git - rust.git/blob - tests/ui/const-generics/issues/issue-67945-4.full.stderr
Auto merge of #103019 - Kobzol:ci-multistage-python, r=Mark-Simulacrum
[rust.git] / tests / ui / const-generics / issues / issue-67945-4.full.stderr
1 error: overly complex generic constant
2   --> $DIR/issue-67945-4.rs:9:13
3    |
4 LL |       A: [(); {
5    |  _____________^
6 LL | |         let x: Option<Box<S>> = None;
7 LL | |
8 LL | |         0
9 LL | |     }],
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
15 error: aborting due to previous error
16