mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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;
|
\\ _ = C;
|
||||||
\\}
|
\\}
|
||||||
, &[_][]const u8{
|
, &[_][]const u8{
|
||||||
"tmp.zig:4:5: error: non-exhaustive enum must specify size",
|
"tmp.zig:4:5: error: value assigned to '_' field of non-exhaustive enum",
|
||||||
"error: value assigned to '_' field of non-exhaustive enum",
|
"error: non-exhaustive enum must specify size",
|
||||||
"error: non-exhaustive enum specifies every value",
|
"error: non-exhaustive enum specifies every value",
|
||||||
"error: '_' field of non-exhaustive enum must be last",
|
"error: '_' field of non-exhaustive enum must be last",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue