summaryrefslogtreecommitdiffstats
path: root/tests/ui/enum-discriminant/issue-104519.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/enum-discriminant/issue-104519.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/ui/enum-discriminant/issue-104519.rs b/tests/ui/enum-discriminant/issue-104519.rs
index c4630f76b..507c0988f 100644
--- a/tests/ui/enum-discriminant/issue-104519.rs
+++ b/tests/ui/enum-discriminant/issue-104519.rs
@@ -23,14 +23,4 @@ fn some_match(result: OpenResult) -> u8 {
fn main() {
let result = OpenResult::Ok(());
assert_eq!(some_match(result), 0);
-
- let result = OpenResult::Ok(());
- match result {
- OpenResult::Ok(()) => (),
- _ => unreachable!("message a"),
- }
- match result {
- OpenResult::Ok(()) => (),
- _ => unreachable!("message b"),
- }
}