about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-10 22:00:47 +0200
committerGitHub <noreply@github.com>2024-10-10 22:00:47 +0200
commit9237937cf0d6b044a25c8511bef9dcff4cf6d3c4 (patch)
tree443f62f620ea2554ef980884503205ffe6cec8e8 /compiler/rustc_codegen_llvm/src
parent13976f1f25ac64d53a2e1317153f4cfb1324b351 (diff)
parent461b49d96dd012dd13e172a166b7dad9ed7543d9 (diff)
downloadrust-9237937cf0d6b044a25c8511bef9dcff4cf6d3c4.tar.gz
rust-9237937cf0d6b044a25c8511bef9dcff4cf6d3c4.zip
Rollup merge of #130538 - ultrabear:ultrabear_const_from_ref, r=workingjubilee
Stabilize const `{slice,array}::from_mut`

This PR stabilizes the following APIs as const stable as of rust `1.83`:
```rs
// core::array
pub const fn from_mut<T>(s: &mut T) -> &mut [T; 1];

// core::slice
pub const fn from_mut<T>(s: &mut T) -> &mut [T];
```
This is made possible by `const_mut_refs` being stabilized (yay).

Tracking issue: #90206
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions