summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/fat-arrow-match.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binding/fat-arrow-match.rs')
-rw-r--r--src/test/ui/binding/fat-arrow-match.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/binding/fat-arrow-match.rs b/src/test/ui/binding/fat-arrow-match.rs
deleted file mode 100644
index aaf5be8cf..000000000
--- a/src/test/ui/binding/fat-arrow-match.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-// run-pass
-#![allow(dead_code)]
-#![allow(non_camel_case_types)]
-
-enum color {
- red,
- green,
- blue
-}
-
-pub fn main() {
- println!("{}", match color::red {
- color::red => { 1 }
- color::green => { 2 }
- color::blue => { 3 }
- });
-}