about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2022-01-11 15:46:53 +0100
committerMiguel Ojeda <ojeda@kernel.org>2022-01-11 17:01:13 +0100
commit8680a44c0f883516ccc73bd6e174c2f25307791f (patch)
tree7e52a73c277e5239e27dff411f2ec28637a62a35 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parente4b1d5841494d6eb7f4944c91a057e16b0f0a9ea (diff)
downloadrust-8680a44c0f883516ccc73bd6e174c2f25307791f.tar.gz
rust-8680a44c0f883516ccc73bd6e174c2f25307791f.zip
Partially stabilize `maybe_uninit_extra`
This covers:

    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 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions