| error[E0013]: constants cannot refer to statics |
| --> $DIR/issue-52060.rs:4:26 |
| | |
| LL | static B: [u32; 1] = [0; A.len()]; |
| | ^ |
| | |
| = help: consider extracting the value of the `static` to a `const`, and referring to that |
| |
| error[E0080]: evaluation of constant value failed |
| --> $DIR/issue-52060.rs:4:26 |
| | |
| LL | static B: [u32; 1] = [0; A.len()]; |
| | ^ constant accesses static |
| |
| error: aborting due to 2 previous errors |
| |
| Some errors have detailed explanations: E0013, E0080. |
| For more information about an error, try `rustc --explain E0013`. |