From ab1d8ead91ac23e07f4ba9a186e0ae7ddbcd2515 Mon Sep 17 00:00:00 2001 From: John Clements Date: Tue, 30 Apr 2013 11:58:55 -0700 Subject: [PATCH] fixed pattern, moved test to compile-fail --- src/test/{run-fail => compile-fail}/issue-5927.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/test/{run-fail => compile-fail}/issue-5927.rs (92%) diff --git a/src/test/run-fail/issue-5927.rs b/src/test/compile-fail/issue-5927.rs similarity index 92% rename from src/test/run-fail/issue-5927.rs rename to src/test/compile-fail/issue-5927.rs index f302d706c15d7..a1b4ee7aa3445 100644 --- a/src/test/run-fail/issue-5927.rs +++ b/src/test/compile-fail/issue-5927.rs @@ -10,7 +10,7 @@ -// error-pattern:cant-use-x-as-pattern-mumble +// error-pattern:unresolved enum variant fn main() { let z = match 3 {