diff options
Diffstat (limited to 'src/test/compile-fail/empty-struct-braces-pat-2.rs')
| -rw-r--r-- | src/test/compile-fail/empty-struct-braces-pat-2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/empty-struct-braces-pat-2.rs b/src/test/compile-fail/empty-struct-braces-pat-2.rs index 0bd96d82095..0522a654a85 100644 --- a/src/test/compile-fail/empty-struct-braces-pat-2.rs +++ b/src/test/compile-fail/empty-struct-braces-pat-2.rs @@ -29,9 +29,9 @@ fn main() { // XEmpty1() => () // ERROR unresolved enum variant, struct or const `XEmpty1` // } match e1 { - Empty1(..) => () //~ ERROR unresolved enum variant, struct or const `Empty1` + Empty1(..) => () //~ ERROR unresolved variant or struct `Empty1` } match xe1 { - XEmpty1(..) => () //~ ERROR unresolved enum variant, struct or const `XEmpty1` + XEmpty1(..) => () //~ ERROR unresolved variant or struct `XEmpty1` } } |
