diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-23 16:10:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-23 16:10:17 -0500 |
| commit | ecf56d85efa227acf1bd9cab9ad2d5af05f7efe5 (patch) | |
| tree | d83ccefd98555c33d492273cb20f86fe78965416 /test/compile_errors.zig | |
| parent | 88d1258e08e668e620d5f8f4681315e555acbcd2 (diff) | |
| parent | ab4d693cfc82465c42021ba6f18c65fdd5f969e6 (diff) | |
| download | zig-ecf56d85efa227acf1bd9cab9ad2d5af05f7efe5.tar.gz zig-ecf56d85efa227acf1bd9cab9ad2d5af05f7efe5.zip | |
Merge pull request #10969 from Vexu/stage2
stage2: fn typeinfo params
Diffstat (limited to 'test/compile_errors.zig')
| -rw-r--r-- | test/compile_errors.zig | 6 |
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; } |
