diff options
| author | Veikka Tuominen <git@vexu.eu> | 2022-10-27 19:31:45 +0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2022-10-28 13:31:16 +0300 |
| commit | c3b85e4e2f3da02d78ccb814e3025ee4b78d541b (patch) | |
| tree | 7bf5f7c960d57daa2bfae0011e888b6ed1bb23aa /test/compile_errors.zig | |
| parent | c389f8800b8707fc163efab330d2d1838f553620 (diff) | |
| download | zig-c3b85e4e2f3da02d78ccb814e3025ee4b78d541b.tar.gz zig-c3b85e4e2f3da02d78ccb814e3025ee4b78d541b.zip | |
Sema: further enhance explanation of why expr is evaluated at comptime
Diffstat (limited to 'test/compile_errors.zig')
| -rw-r--r-- | test/compile_errors.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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", }); } |
