Stabilise as_array in [_] and *const [_]; stabilise as_mut_array in [_] and *mut [_]. by bjoernager · Pull Request #147540 · rust-lang/rust (original) (raw)
tidy [features]: /checkout/library/alloc/src/sync.rs:1229: feature gate slice_as_array has inconsistent issue: "133508" mismatches the previous issue of "none"
The specific tidy error is about Arc::into_array IIUC.
I think since this is a partial stabilization of feature(slice_as_array) (because it does not stabilize {Box, Rc, Arc}::into_array), it will need to change the feature name of either the newly-stable or the remaining-unstable functions to a different name, so they do not conflict.
IIUC, the intended workflow is to rename the feature on the being-stabilized functions, and leave the feature name the same on the remaining-unstable functions, like was done in #94640 (it stablized NonNull::len, and changed its feature from slice_ptr_len to slice_ptr_len_nonnull, while leaving slice_ptr_len unstable)
If you want to cherry-pick zachs18@e801f3e it should fix the tidy error I think.