diff --git a/doc/langref.html.in b/doc/langref.html.in index 9e2659d977..cfd1554634 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2496,6 +2496,7 @@ or {#header_open|packed union#}
A {#syntax#}packed union{#endsyntax#} has well-defined in-memory layout and is eligible to be in a {#link|packed struct#}.
+All fields in a packed union must have the same {#link|@bitSizeOf#}.
{#header_close#} {#header_open|Anonymous Union Literals#}