]> git.lizzy.rs Git - rust.git/commitdiff
Update generated tests
authorWang Ruochen <wrc@ruo-chen.wang>
Mon, 3 Jan 2022 17:48:50 +0000 (09:48 -0800)
committerWang Ruochen <wrc@ruo-chen.wang>
Mon, 3 Jan 2022 17:48:50 +0000 (09:48 -0800)
crates/ide_assists/src/tests/generated.rs

index 0c037ca5ef7d8c232de146fe0cfe8a20c5d909c2..ab5ef91657399108134077cd9f14134c0b845cbf 100644 (file)
@@ -1403,7 +1403,6 @@ enum Action { Move { distance: u32 }, Stop }
 fn handle(action: Action) {
     match action {
         Action::Move { distance } if distance > 10 => foo(),
-        Action::Move { distance } => {}
         _ => (),
     }
 }