From ef5db37d9d0d75587400dec4dee6e6c4b09024ac Mon Sep 17 00:00:00 2001 From: Andre Bogus Date: Tue, 31 May 2016 20:14:32 +0200 Subject: [PATCH] additional error in copies test annotated --- tests/compile-fail/copies.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compile-fail/copies.rs b/tests/compile-fail/copies.rs index 6f3076f7775b..0f930657bf75 100644 --- a/tests/compile-fail/copies.rs +++ b/tests/compile-fail/copies.rs @@ -173,7 +173,7 @@ fn if_same_then_else() -> Result<&'static str, ()> { let _ = match Some(42) { Some(_) => 24, - None => 24, + None => 24, //~ERROR this `match` has identical arm bodies }; let _ = match Some(42) {