rust/library/core/src/array
Matthias Krüger a3fb2a0572
Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35
remove pointless allowed_through_unstable_modules on TryFromSliceError

This got added in https://github.com/rust-lang/rust/pull/132482 but the PR does not explain why. `@lukas-code` do you still remember? Also Cc `@Noratrieb` as reviewer of that PR.

If I understand the issue description correctly, all paths under which this type is exported are stable now: `core::array::TryFromSliceError` and `std::array::TryFromSliceError`. If that is the case, we shouldn't have the attribute; it's a terrible hack that should only be used when needed to maintain backward compatibility. Getting some historic information right is IMO *not* sufficient justification to risk accidentally exposing this type via more unstable paths today or in the future.
2025-01-24 08:08:06 +01:00
..
ascii.rs Stabilize const_option 2024-10-12 17:07:13 -04:00
drain.rs Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
equality.rs Import the 2021 prelude in the core crate 2024-03-25 13:12:06 -07:00
iter.rs Add inherent versions of MaybeUninit methods for slices 2025-01-11 23:57:00 -05:00
mod.rs Rollup merge of #135489 - RalfJung:TryFromSliceError, r=tgross35 2025-01-24 08:08:06 +01:00