From c3b85e4e2f3da02d78ccb814e3025ee4b78d541b Mon Sep 17 00:00:00 2001 From: Veikka Tuominen Date: Thu, 27 Oct 2022 19:31:45 +0300 Subject: Sema: further enhance explanation of why expr is evaluated at comptime --- test/compile_errors.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/compile_errors.zig') diff --git a/test/compile_errors.zig b/test/compile_errors.zig index e9b08565ce..5454124df8 100644 --- a/test/compile_errors.zig +++ b/test/compile_errors.zig @@ -204,7 +204,7 @@ pub fn addCases(ctx: *TestContext) !void { , &[_][]const u8{ ":3:12: error: unable to resolve comptime value", ":3:12: note: argument to function being called at comptime must be comptime-known", - ":2:55: note: generic function is instantiated with a comptime-only return type", + ":2:55: note: expression is evaluated at comptime because the generic function was instantiated with a comptime-only return type", }); } -- cgit v1.2.3