additional error in copies test annotated

This commit is contained in:
Andre Bogus 2016-05-31 20:14:32 +02:00 committed by mcarton
parent 6aa37e57a2
commit ef5db37d9d

View file

@ -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) {