about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-09-18 23:40:31 -0700
committerGitHub <noreply@github.com>2024-09-18 23:40:31 -0700
commit0ad2a522b7eff8fcb200729ce7ccaca0a04784a5 (patch)
tree4eaaca02f42d2fdd4339e64a7b7367aa77f102d2 /compiler/rustc_codegen_gcc
parentf9b8ef0687d3403fb2822caaccc67de5589ff235 (diff)
parentb7ca2b6510b854cd44fc8c46b113ef3e45986ab6 (diff)
downloadrust-0ad2a522b7eff8fcb200729ce7ccaca0a04784a5.tar.gz
rust-0ad2a522b7eff8fcb200729ce7ccaca0a04784a5.zip
Rollup merge of #130542 - ultrabear:stabilize_const_maybeuninit_as_mut_ptr, r=workingjubilee
Stabilize const `MaybeUninit::as_mut_ptr`

This PR stabilizes the following APIs as const stable as of rust `1.83`:
```rs
impl<T> MaybeUninit<T> {
    pub const fn as_mut_ptr(&mut self) -> *mut T;
}
```
This is made possible by const_mut_refs being stabilized (yay).

FCP: #75251 [(comment)](https://github.com/rust-lang/rust/issues/75251#issuecomment-2356197443)
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions