about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authordylan_DPC <dylan.dpc@gmail.com>2018-06-05 23:44:42 +0530
committerdylan_DPC <dylan.dpc@gmail.com>2018-06-05 23:44:42 +0530
commite8fd74a11d66849c0b5b737d3bbe0cf121f8908e (patch)
tree5dde91434690caf9cb0326cf329c5e0352ab73b1 /src
parent4cbf400366bb7d635cf4be31568b41992115220a (diff)
downloadrust-e8fd74a11d66849c0b5b737d3bbe0cf121f8908e.tar.gz
rust-e8fd74a11d66849c0b5b737d3bbe0cf121f8908e.zip
remove redundant match branch
Diffstat (limited to 'src')
-rw-r--r--src/libsyntax/test.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/test.rs b/src/libsyntax/test.rs
index 5506f408cd2..2d5606b2ede 100644
--- a/src/libsyntax/test.rs
+++ b/src/libsyntax/test.rs
@@ -358,7 +358,6 @@ fn is_test_fn(cx: &TestCtxt, i: &ast::Item) -> bool {
                     } else {
                         Yes
                     },
-                    (true, _) => No(BadTestSignature::WrongTypeSignature),
                     (false, _) => Yes
                 }
             }