aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index d1971e46bb..580c525dba 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -450,7 +450,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ .is_generic = true,
\\ .is_var_args = false,
\\ .return_type = u0,
- \\ .args = &[_]@import("std").builtin.TypeInfo.FnArg{},
+ \\ .args = &[_]@import("std").builtin.TypeInfo.Fn.Param{},
\\ },
\\});
\\comptime { _ = Foo; }
@@ -466,7 +466,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ .is_generic = false,
\\ .is_var_args = true,
\\ .return_type = u0,
- \\ .args = &[_]@import("std").builtin.TypeInfo.FnArg{},
+ \\ .args = &[_]@import("std").builtin.TypeInfo.Fn.Param{},
\\ },
\\});
\\comptime { _ = Foo; }
@@ -482,7 +482,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ .is_generic = false,
\\ .is_var_args = false,
\\ .return_type = null,
- \\ .args = &[_]@import("std").builtin.TypeInfo.FnArg{},
+ \\ .args = &[_]@import("std").builtin.TypeInfo.Fn.Param{},
\\ },
\\});
\\comptime { _ = Foo; }