Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/type-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,6 @@ struct MyCFields { x: u32, y: u8 }
struct MyDFields;
```

> [!NOTE]
> `union`s with non-`Copy` fields are unstable, see [55149].

r[layout.repr.primitive]
### Primitive representations

Expand Down Expand Up @@ -496,9 +493,6 @@ struct MyVariantC { tag: MyEnumDiscriminant, x: u32, y: u8 }
struct MyVariantD(MyEnumDiscriminant);
```

> [!NOTE]
> `union`s with non-`Copy` fields are unstable, see [55149].

r[layout.repr.primitive-c]
#### Combining primitive representations of enums with fields and `#[repr(C)]`

Expand Down Expand Up @@ -668,7 +662,6 @@ used with any other representation.
[enumerations]: items/enumerations.md
[zero-variant enums]: items/enumerations.md#zero-variant-enums
[undefined behavior]: behavior-considered-undefined.md
[55149]: https://github.com/rust-lang/rust/issues/55149
[`PhantomData<T>`]: special-types-and-traits.md#phantomdatat
[`Rust`]: #the-rust-representation
[`C`]: #the-c-representation
Expand Down