diff --git a/fmt.zig b/fmt.zig index a1e98b8e45978da6840e1d167c76b2f995913261..099a3bf4b05f1dc55d682418b529bcab93168d23 100644 --- a/fmt.zig +++ b/fmt.zig @@ -618,6 +618,7 @@ fn formatType(value: anytype, comptime fmt: []const u8, options: FormatOptions, }, else => @compileError("unable to format type '" ++ @typeName(T) ++ "'"), } + @compileError("unable to format type '" ++ @typeName(T) ++ "' with specifier '" ++ actual_fmt ++ "'"); } pub inline fn comptimePrint(comptime fmt: []const u8, args: anytype) *const [count(fmt, args):0]u8 {