Update compile-errors test for @Type(.Enum) changes

This commit is contained in:
Tadeo Kondrak 2020-08-21 15:00:23 -06:00
parent 5a5956bd20
commit c31e8701d7
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B

View File

@ -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",
});