about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-10-04 14:11:37 -0700
committerGitHub <noreply@github.com>2024-10-04 14:11:37 -0700
commit882d660036796e6b0724496a3f1f24031d7404d8 (patch)
tree234413874907b345637becf3b474ce4f025b0372 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1462815098cfadc97bf5d8ec2bf165321b5c75ff (diff)
parentac53f1f242433b9cc5c440e85aa40468f9ca256a (diff)
downloadrust-882d660036796e6b0724496a3f1f24031d7404d8.tar.gz
rust-882d660036796e6b0724496a3f1f24031d7404d8.zip
Rollup merge of #131177 - workingjubilee:stabilize-const-mut-referees, r=tgross35
 Stabilize 5 `const_mut_refs`-dependent API

Since `const_mut_refs` and `const_refs_to_cell` have been stabilized, we now may create mutable references inside our library API. Thus we now stabilize the `const fn` version of these public library APIs which required such in their implementation:
- const `NonNull::as_mut` https://github.com/rust-lang/rust/issues/91822#issuecomment-2338930442
- const `slice::{first,last}_mut`: https://github.com/rust-lang/rust/issues/83570#issuecomment-2334847112
- const `str::as_{mut_ptr,bytes_mut}`: https://github.com/rust-lang/rust/issues/130086#issuecomment-2336408562
- const `str::from_utf8_unchecked_mut`: https://github.com/rust-lang/rust/issues/91005#issuecomment-2359820672
- const `UnsafeCell::get_mut`: https://github.com/rust-lang/rust/issues/88836#issuecomment-2359817772
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions