summaryrefslogtreecommitdiffstats
path: root/src/test/ui/consts/const-match-pattern-arm.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/consts/const-match-pattern-arm.rs')
-rw-r--r--src/test/ui/consts/const-match-pattern-arm.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/test/ui/consts/const-match-pattern-arm.rs b/src/test/ui/consts/const-match-pattern-arm.rs
deleted file mode 100644
index 90680c019..000000000
--- a/src/test/ui/consts/const-match-pattern-arm.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-// check-pass
-
-const _: bool = match Some(true) {
- Some(value) => true,
- _ => false
-};
-
-const _: bool = {
- match Some(true) {
- Some(value) => true,
- _ => false
- }
-};
-
-fn main() {}