| ... | @@ -8167,7 +8167,7 @@ test "vector @splat" { | ... | @@ -8167,7 +8167,7 @@ test "vector @splat" { |
| 8167 | {#header_open|@tagName#} | 8167 | {#header_open|@tagName#} |
| 8168 | <pre>{#syntax#}@tagName(value: var) []const u8{#endsyntax#}</pre> | 8168 | <pre>{#syntax#}@tagName(value: var) []const u8{#endsyntax#}</pre> |
| 8169 | <p> | 8169 | <p> |
| 8170 | Converts an enum value or union value to a slice of bytes representing the name. Not valid for unamed fields in non-exhaustive enums. | 8170 | Converts an enum value or union value to a slice of bytes representing the name.</p><p>If the enum is non-exhaustive and the tag value does not map to a name, it invokes safety-checked {#link|Undefined Behavior#}. |
| 8171 | </p> | 8171 | </p> |
| 8172 | {#header_close#} | 8172 | {#header_close#} |
| 8173 | | 8173 | |