diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-18 23:40:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-18 23:40:31 -0700 |
| commit | 0ad2a522b7eff8fcb200729ce7ccaca0a04784a5 (patch) | |
| tree | 4eaaca02f42d2fdd4339e64a7b7367aa77f102d2 /compiler/rustc_codegen_gcc | |
| parent | f9b8ef0687d3403fb2822caaccc67de5589ff235 (diff) | |
| parent | b7ca2b6510b854cd44fc8c46b113ef3e45986ab6 (diff) | |
| download | rust-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
