summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/match/match-struct.rs')
-rw-r--r--tests/ui/match/match-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/match/match-struct.rs b/tests/ui/match/match-struct.rs
index 7a54c54b9..4da7b436b 100644
--- a/tests/ui/match/match-struct.rs
+++ b/tests/ui/match/match-struct.rs
@@ -5,7 +5,7 @@ fn main() {
match (S { a: 1 }) {
E::C(_) => (),
//~^ ERROR mismatched types
- //~| expected struct `S`, found enum `E`
+ //~| expected `S`, found `E`
_ => ()
}
}