Skip to content

Commit 5cfbfbd

Browse files
committed
fix(core): remove #![feature(untagged_unions)]
Unions with `impl Copy` and `ManuallyDrop` fields have been stabilized by [rust-lang/rust#77547][1] back in 2020, making enabling the feature already unnecessary for us. A few more field types have been added to the allowlist later by [rust-lang/rust#97995][2], which also removed the feature as there was no intent to stabilize more field types. [1]: rust-lang/rust#77547 [2]: rust-lang/rust#97995
1 parent da74643 commit 5cfbfbd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/r3_core/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#![feature(const_trait_impl)]
3333
#![feature(const_ptr_write)]
3434
#![feature(core_intrinsics)]
35-
#![feature(untagged_unions)] // `union` with non-`Copy` fields
3635
#![feature(assert_matches)]
3736
#![feature(const_mut_refs)]
3837
#![feature(const_ptr_read)]

0 commit comments

Comments
 (0)