diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-11-28 10:42:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-28 10:42:38 +0100 |
| commit | af0cf347875b696a1f01634e9a761bbccccd1de6 (patch) | |
| tree | fe55be6c1bc0f9750f271b703106e5546deaa030 /compiler/rustc_mir_transform/src/coverage/graph.rs | |
| parent | 27d5935df18d7035c9bd8dc5c1dfbbad6ac59793 (diff) | |
| parent | 44b5b838d2a58fb683324e2336a6766d450b0626 (diff) | |
| download | rust-af0cf347875b696a1f01634e9a761bbccccd1de6.tar.gz rust-af0cf347875b696a1f01634e9a761bbccccd1de6.zip | |
Rollup merge of #90896 - jhpratt:stabilize_const_maybe_uninit, r=oli-obk
Stabilize some `MaybeUninit` behavior as const This stabilizes the `MaybeUninit::as_ptr`, `MaybeUninit::assume_init`, and `MaybeUninit::assume_init_ref` as `const fn`. `MaybeUninit::as_mut_ptr` has been moved to a new flag: `const_maybe_uninit_as_mut_ptr`, which is blocked on #57349. `MaybeUninit::slice_assume_init_ref` can be `const fn` when the method is stabilized in general. The relevant intrinsic has been stabilized as `const` as well, though this isn't user-visible. Due to the seemingly unrelated feature name I performed `rg const_assert_type` and found no other instances of it being used. r? `@oli-obk` `@rustbot` label: +A-const-fn +S-waiting-on-review +T-libs-api
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
