mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-09 15:19:07 +00:00
Update compile-errors test for @Type(.Enum) changes
This commit is contained in:
parent
5a5956bd20
commit
c31e8701d7
1 changed files with 2 additions and 2 deletions
|
|
@ -614,8 +614,8 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
|||
\\ _ = C;
|
||||
\\}
|
||||
, &[_][]const u8{
|
||||
"tmp.zig:4:5: error: non-exhaustive enum must specify size",
|
||||
"error: value assigned to '_' field of non-exhaustive enum",
|
||||
"tmp.zig:4:5: error: value assigned to '_' field of non-exhaustive enum",
|
||||
"error: non-exhaustive enum must specify size",
|
||||
"error: non-exhaustive enum specifies every value",
|
||||
"error: '_' field of non-exhaustive enum must be last",
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue