diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-19 18:52:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-19 18:52:03 +0100 |
| commit | 2c380a4661244ea7239399c6adc26fa707d41af6 (patch) | |
| tree | d2098b93c1d54d16dad9e2259f72b9f7d2e7976b /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | be36bd288f887b26a0a09b15e83452acf5034935 (diff) | |
| parent | 7de250f1e34ac18cf616179353a67019dfc2c0d6 (diff) | |
| download | rust-2c380a4661244ea7239399c6adc26fa707d41af6.tar.gz rust-2c380a4661244ea7239399c6adc26fa707d41af6.zip | |
Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=Amanieu
Stabilize const_slice_flatten
Const-stabilizes `slice::as_flattened{,_mut}`:
```rust
// core::slice
impl<T, const N: usize> [[T; N]] {
pub const fn as_flattened(&self) -> &[T];
pub const fn as_flattened_mut(&mut self) -> &mut [T];
}
```
Tracking issue: https://github.com/rust-lang/rust/issues/95629
Requires separate FCP, as per https://github.com/rust-lang/rust/issues/95629#issuecomment-2566546257.
Closes https://github.com/rust-lang/rust/issues/95629.
`````@rustbot````` modify labels: +T-libs-api
Happy new year!
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
