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>2022-01-14 07:47:33 +0100
committerGitHub <noreply@github.com>2022-01-14 07:47:33 +0100
commit558da934c1f4133628bccecf9e6c625c360c51f3 (patch)
tree0799fc5422c9760a50cfd4b17548f382f05ee37f /compiler/rustc_codegen_llvm/src
parent347c744fe0e464737dbbdc44d148c84fc07568cb (diff)
parent8680a44c0f883516ccc73bd6e174c2f25307791f (diff)
downloadrust-558da934c1f4133628bccecf9e6c625c360c51f3.tar.gz
rust-558da934c1f4133628bccecf9e6c625c360c51f3.zip
Rollup merge of #92768 - ojeda:stabilize-maybe_uninit_extra, r=Mark-Simulacrum
Partially stabilize `maybe_uninit_extra`

This covers:

```rust
impl<T> MaybeUninit<T> {
    pub unsafe fn assume_init_read(&self) -> T { ... }
    pub unsafe fn assume_init_drop(&mut self) { ... }
}
```

It does not cover the const-ness of `write` under `const_maybe_uninit_write` nor the const-ness of `assume_init_read` (this commit adds `const_maybe_uninit_assume_init_read` for that).

FCP: https://github.com/rust-lang/rust/issues/63567#issuecomment-958590287.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions