authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-02-08 14:39:43+00:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-03-10 10:26:10+00:00
log031d109310fe1f7e68314069ddf5d0d1dd342098
tree52e721213a7d48cc33d98e3fafee33044eb15067
parentda2006a38c63ac84aa9a075193bd72cf2d1716a2
signaturelock-open Commit is signed but in an unrecognized format.

Sema: small error message fix


1 files changed, 0 insertions(+), 1 deletions(-)

src/Sema/type_resolution.zig-1
......@@ -454,7 +454,6 @@ fn resolvePackedStructLayout(
454454 const msg = try sema.errMsg(field_ty_src, "packed structs cannot contain fields of type '{f}'", .{field_ty.fmt(pt)});
455455 errdefer msg.destroy(gpa);
456456 try sema.explainWhyTypeIsUnpackable(msg, field_ty_src, reason);
457 try sema.addDeclaredHereNote(msg, field_ty);
458457 break :msg msg;
459458 });
460459 switch (field_ty.classify(zcu)) {