about summary refs log tree commit diff
path: root/tests/rustdoc-ui/coverage/enum-tuple.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-12-02 23:08:52 +0100
committerGitHub <noreply@github.com>2024-12-02 23:08:52 +0100
commite56e68541b64d3f2c212d2cb4fcb81f23a375eee (patch)
tree3d1f2ae228b18525cb186d4a0c6ac96726b12e28 /tests/rustdoc-ui/coverage/enum-tuple.rs
parentd49be02cf6d2e2a01264fcdef1e20c826710c0f5 (diff)
parentc5fedc2267838ab9db5a98f946873685ae69097f (diff)
downloadrust-e56e68541b64d3f2c212d2cb4fcb81f23a375eee.tar.gz
rust-e56e68541b64d3f2c212d2cb4fcb81f23a375eee.zip
Rollup merge of #131713 - tgross35:stabilize-const_maybe_uninit_write, r=RalfJung,dtolnay
Stabilize `const_maybe_uninit_write`

Mark the following API const stable:

```rust
impl<T> MaybeUninit<T> {
    pub const fn write(&mut self, val: T) -> &mut T;
}
```

This depends on `const_mut_refs` and [`const_maybe_uninit_assume_init`](https://github.com/rust-lang/rust/issues/86722), both of which have recently been stabilized.

Closes: <https://github.com/rust-lang/rust/issues/63567>
Diffstat (limited to 'tests/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions