From d9602a78caabeac430cedf7197e67386a3384c2e Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Fri, 30 Oct 2020 12:15:06 +0100 Subject: fix compileError message --- sqlite.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite.zig') diff --git a/sqlite.zig b/sqlite.zig index 7f73e06..5844c34 100644 --- a/sqlite.zig +++ b/sqlite.zig @@ -240,7 +240,7 @@ pub fn Statement(comptime opts: StatementOptions) type { _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); }, - else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), + else => @compileError("cannot bind field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), } }, else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), -- cgit v1.2.3