aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/reify_struct.zig
diff options
context:
space:
mode:
authorr00ster91 <r00ster91@proton.me>2022-12-13 22:30:06 +0100
committerr00ster91 <r00ster91@proton.me>2022-12-17 14:11:33 +0100
commitaac2d6b56f32134ea32fb3d984e3fcdfddd8aaf6 (patch)
tree941528727d4d0a5b92f58c0b862f0d5f372b89e0 /test/cases/compile_errors/reify_struct.zig
parent7350ea3e2da4d4e6ef5092cd9f0832beef0291d5 (diff)
downloadzig-aac2d6b56f32134ea32fb3d984e3fcdfddd8aaf6.tar.gz
zig-aac2d6b56f32134ea32fb3d984e3fcdfddd8aaf6.zip
std.builtin: rename Type.UnionField and Type.StructField's field_type to type
Diffstat (limited to 'test/cases/compile_errors/reify_struct.zig')
-rw-r--r--test/cases/compile_errors/reify_struct.zig10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cases/compile_errors/reify_struct.zig b/test/cases/compile_errors/reify_struct.zig
index 1c6001ced6..42b8e42af5 100644
--- a/test/cases/compile_errors/reify_struct.zig
+++ b/test/cases/compile_errors/reify_struct.zig
@@ -3,7 +3,7 @@ comptime {
.layout = .Auto,
.fields = &.{.{
.name = "foo",
- .field_type = u32,
+ .type = u32,
.default_value = null,
.is_comptime = false,
.alignment = 4,
@@ -17,7 +17,7 @@ comptime {
.layout = .Auto,
.fields = &.{.{
.name = "3",
- .field_type = u32,
+ .type = u32,
.default_value = null,
.is_comptime = false,
.alignment = 4,
@@ -31,7 +31,7 @@ comptime {
.layout = .Auto,
.fields = &.{.{
.name = "0",
- .field_type = u32,
+ .type = u32,
.default_value = null,
.is_comptime = true,
.alignment = 4,
@@ -45,7 +45,7 @@ comptime {
.layout = .Extern,
.fields = &.{.{
.name = "0",
- .field_type = u32,
+ .type = u32,
.default_value = null,
.is_comptime = true,
.alignment = 4,
@@ -59,7 +59,7 @@ comptime {
.layout = .Packed,
.fields = &.{.{
.name = "0",
- .field_type = u32,
+ .type = u32,
.default_value = null,
.is_comptime = true,
.alignment = 4,