Sema: minor fix

This commit is contained in:
Matthew Lugg 2026-02-08 14:58:03 +00:00
parent 7344fa7e94
commit fdb1a52948
No known key found for this signature in database
GPG key ID: 3F5B7DCCBF4AF02E

View file

@ -15913,12 +15913,12 @@ fn zirBitSizeOf(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileError!A
.undefined,
.null,
.@"opaque",
=> return sema.fail(block, operand_src, "no size available for type '{f}'", .{operand_ty.fmt(pt)}),
.type,
.enum_literal,
.comptime_float,
.comptime_int,
=> return sema.fail(block, operand_src, "no size available for type '{f}'", .{operand_ty.fmt(pt)}),
.void,
=> return .zero,