]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issue-67945-3.full.stderr
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[rust.git] / src / test / ui / const-generics / issue-67945-3.full.stderr
1 error: constant expression depends on a generic parameter
2   --> $DIR/issue-67945-3.rs:7:8
3    |
4 LL |       A: [(); {
5    |  ________^
6 LL | |
7 LL | |         let x: Option<Box<Self>> = None;
8 LL | |
9 LL | |         0
10 LL | |     }],
11    | |______^
12    |
13    = note: this may fail depending on what value the parameter takes
14
15 error: aborting due to previous error
16