Skip to content

Commit 8889d63

Browse files
committed
stage2: Support @offsetOf for tuples and anon structs
1 parent e2d7e3b commit 8889d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compile_errors/offsetOf-bad_field_name.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export fn foo() usize {
99
// backend=stage2
1010
// target=native
1111
//
12-
// :5:27: error: struct 'tmp.Foo' has no field 'a'
12+
// :5:27: error: no field named 'a' in struct 'tmp.Foo'
1313
// :1:13: note: struct declared here

0 commit comments

Comments
 (0)