Matthias Krüger 558da934c1
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>
2022-01-14 07:47:33 +01:00
..
2021-12-15 00:11:23 +08:00
2021-12-16 22:11:17 -08:00
2022-01-11 17:01:13 +01:00
2021-11-28 01:31:25 -05:00
2021-12-17 20:46:47 +08:00
2021-12-12 14:02:53 +09:00
2021-12-02 19:22:00 -08:00