about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2025-01-01 15:25:20 +0100
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2025-01-01 15:25:21 +0100
commit7de250f1e34ac18cf616179353a67019dfc2c0d6 (patch)
tree129a1a61cfc2f256ebb23d020c0d5a35d66576d2 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parenteeeff9a66cda13934600800eee40fd84ba1647eb (diff)
downloadrust-7de250f1e34ac18cf616179353a67019dfc2c0d6.tar.gz
rust-7de250f1e34ac18cf616179353a67019dfc2c0d6.zip
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 libs-api FCP, as per https://github.com/rust-lang/rust/issues/95629#issuecomment-2566546257.

Closes https://github.com/rust-lang/rust/issues/95629.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions