Zig Version
0.16-dev.2653
Steps to Reproduce and Observed Behavior
conststd=@import("std");constS1=packedstruct(u32){a:u16,};pubfnmain()void{std.debug.print("sizeof {d}\n",.{@sizeOf(S1)});}
Expected Behavior
Only when it is used will the compiler provide correct error messages
conststd=@import("std");constS1=packedstruct(u32){a:u16,};pubfnmain()void{vars1:S1=.{.a=0x1234};// std.debug.print("sizeof {d}\n", .{@sizeOf(S1)});}main.zig:3:26: error: backing integer type 'u32' has bit size 32 but the struct fields have a total bit size of 16
const S1 = packed struct(u32) {
Provide the correct error message
### Zig Version
0.16-dev.2653
### Steps to Reproduce and Observed Behavior
```zig
const std = @import("std");
const S1 = packed struct(u32) {
a: u16,
};
pub fn main() void {
std.debug.print("sizeof {d}\n", .{@sizeOf(S1)});
}
```

### Expected Behavior
Only when it is used will the compiler provide correct error messages
```zig
const std = @import("std");
const S1 = packed struct(u32) {
a: u16,
};
pub fn main() void {
var s1: S1 = .{ .a = 0x1234 };
// std.debug.print("sizeof {d}\n", .{@sizeOf(S1)});
}
```
```console
main.zig:3:26: error: backing integer type 'u32' has bit size 32 but the struct fields have a total bit size of 16
const S1 = packed struct(u32) {
```
Provide the correct error message
12 KiB