diff options
| author | Anton Firszov <antonfir@gmail.com> | 2021-10-14 20:35:59 +0200 |
|---|---|---|
| committer | Anton Firszov <antonfir@gmail.com> | 2021-10-14 20:35:59 +0200 |
| commit | 01e302252123b41b52ed37f4385cd80a1ab8e068 (patch) | |
| tree | 6b835f631cfcfe00d790dd3ca771c4265bf3e4c9 | |
| parent | 8cca6242f85f74b67979e7a9a4981c1c76e8b880 (diff) | |
| download | rust-01e302252123b41b52ed37f4385cd80a1ab8e068.tar.gz rust-01e302252123b41b52ed37f4385cd80a1ab8e068.zip | |
update generated.rs
| -rw-r--r-- | crates/ide_assists/src/tests/generated.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide_assists/src/tests/generated.rs index 62c44d70e46..633412b9196 100644 --- a/crates/ide_assists/src/tests/generated.rs +++ b/crates/ide_assists/src/tests/generated.rs @@ -129,8 +129,7 @@ fn doctest_add_missing_match_arms() { enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { - match action { - $0 + match action $0 { } } "#####, @@ -138,7 +137,7 @@ fn handle(action: Action) { enum Action { Move { distance: u32 }, Stop } fn handle(action: Action) { - match action { + match action { $0Action::Move { distance } => todo!(), Action::Stop => todo!(), } |
