| ... | @@ -6990,7 +6990,9 @@ pub fn addCases(cases: *tests.CompileErrorContext) void { | ... | @@ -6990,7 +6990,9 @@ pub fn addCases(cases: *tests.CompileErrorContext) void { |
| 6990 | "tmp.zig:2:4: error: variable of type '*const comptime_int' must be const or comptime", | 6990 | "tmp.zig:2:4: error: variable of type '*const comptime_int' must be const or comptime", |
| 6991 | "tmp.zig:5:4: error: variable of type '(undefined)' must be const or comptime", | 6991 | "tmp.zig:5:4: error: variable of type '(undefined)' must be const or comptime", |
| 6992 | "tmp.zig:8:4: error: variable of type 'comptime_int' must be const or comptime", | 6992 | "tmp.zig:8:4: error: variable of type 'comptime_int' must be const or comptime", |
| | 6993 | "tmp.zig:8:4: note: to modify this variable at runtime, it must be given an explicit fixed-size number type", |
| 6993 | "tmp.zig:11:4: error: variable of type 'comptime_float' must be const or comptime", | 6994 | "tmp.zig:11:4: error: variable of type 'comptime_float' must be const or comptime", |
| | 6995 | "tmp.zig:11:4: note: to modify this variable at runtime, it must be given an explicit fixed-size number type", |
| 6994 | "tmp.zig:14:4: error: variable of type '(null)' must be const or comptime", | 6996 | "tmp.zig:14:4: error: variable of type '(null)' must be const or comptime", |
| 6995 | "tmp.zig:17:4: error: variable of type 'Opaque' not allowed", | 6997 | "tmp.zig:17:4: error: variable of type 'Opaque' not allowed", |
| 6996 | "tmp.zig:20:4: error: variable of type 'type' must be const or comptime", | 6998 | "tmp.zig:20:4: error: variable of type 'type' must be const or comptime", |