1 error[E0013]: constants cannot refer to statics, use a constant instead
2 --> $DIR/issue-52060.rs:4:26
4 LL | static B: [u32; 1] = [0; A.len()];
7 error: `core::slice::<impl [T]>::len` is not yet stable as a const fn
8 --> $DIR/issue-52060.rs:4:26
10 LL | static B: [u32; 1] = [0; A.len()];
13 = help: in Nightly builds, add `#![feature(const_slice_len)]` to the crate attributes to enable
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0013`.