aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2022-03-19 12:26:21 +0100
committerAndrew Kelley <andrew@ziglang.org>2022-03-19 19:40:46 -0400
commit5c3325588ef4e85e85cb201ad9328fe26bbb8dca (patch)
tree032f631f03759b73175e4f2ce8abbf7f91cc8a53 /test/compile_errors.zig
parenta318aeed9b8ccec453e9f15415ea3fd20cb13c8d (diff)
downloadzig-5c3325588ef4e85e85cb201ad9328fe26bbb8dca.tar.gz
zig-5c3325588ef4e85e85cb201ad9328fe26bbb8dca.zip
stage1: make type names more unique
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 22e1e527b9..3a84617222 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -267,7 +267,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ });
\\}
, &[_][]const u8{
- "tmp.zig:3:31: error: expected type 'std.builtin.Type', found 'std.builtin.Int'",
+ "tmp.zig:3:31: error: expected type 'std.builtin.Type', found 'std.builtin.Type.Int'",
});
ctx.objErrStage1("indexing a undefined slice at comptime",
@@ -3461,7 +3461,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ _ = field;
\\}
, &[_][]const u8{
- "tmp.zig:9:51: error: values of type 'std.builtin.StructField' must be comptime known, but index value is runtime known",
+ "tmp.zig:9:51: error: values of type 'std.builtin.Type.StructField' must be comptime known, but index value is runtime known",
});
ctx.objErrStage1("compile log statement inside function which must be comptime evaluated",