Commit daac39364a

Andrew Kelley <andrew@ziglang.org>
2022-07-29 06:34:32
fix compile error test case note column number
1 parent 40f8f01
Changed files (1)
test/cases/compile_errors/method_call_with_first_arg_type_wrong_container.zig
@@ -3,14 +3,14 @@ pub const List = struct {
     allocator: *Allocator,
 
     pub fn init(allocator: *Allocator) List {
-        return List {
+        return List{
             .len = 0,
             .allocator = allocator,
         };
     }
 };
 
-pub var global_allocator = Allocator {
+pub var global_allocator = Allocator{
     .field = 1234,
 };
 
@@ -28,4 +28,4 @@ export fn foo() void {
 // target=native
 //
 // :23:6: error: no field or member function named 'init' in 'tmp.List'
-// :1:14: note: struct declared here
+// :1:18: note: struct declared here