additional error in copies test annotated
This commit is contained in:
parent
6aa37e57a2
commit
ef5db37d9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue