aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-10-28 20:15:13 +0200
committerGitHub <noreply@github.com>2022-10-28 20:15:13 +0200
commitbd32206b4449e329c9ef6ba4fd19746234f474f8 (patch)
tree19dd0223be1ff7a95d8ad5b88811ac329fa8aa33 /test/compile_errors.zig
parentf28e4e03eeb622d1cfd391cf9f0c7e45f4d80681 (diff)
parent6fc71835c3075aff4792b63bc38698cbe542f028 (diff)
downloadzig-bd32206b4449e329c9ef6ba4fd19746234f474f8.tar.gz
zig-bd32206b4449e329c9ef6ba4fd19746234f474f8.zip
Merge pull request #13322 from Vexu/comptime-reason
Further enhance explanation of why expression is evaluated at comptime
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig2
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",
});
}