diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-23 16:41:46 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-23 16:41:46 +0000 |
commit | eff1b3fe4d17dcecf0ec9a30c35d6c88715cb8ea (patch) | |
tree | 7f5abbc9336a3476de08d8ee5c3284b8d41db72d /crates/ra_assists/Cargo.toml | |
parent | b605271d7f3fa3fd3ac4dd0e1520b80b5fb13b40 (diff) | |
parent | bc48c9d5116f08efea26da94c82a3eaa1622fc5d (diff) |
Merge #3689
3689: implement fill match arm assist for tuple of enums r=matklad a=JoshMcguigan
This updates the fill match arm assist to work in cases where the user is matching on a tuple of enums.
Note, for now this does not apply when some match arms exist (other than the trivial `_`), but I think this could be added in the future.
I think this also lays the groundwork for filling match arms when matching on tuples of non-enum values, for example a tuple of an enum and a boolean.
Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/ra_assists/Cargo.toml')
-rw-r--r-- | crates/ra_assists/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_assists/Cargo.toml b/crates/ra_assists/Cargo.toml index d314dc8e6..85adddb5b 100644 --- a/crates/ra_assists/Cargo.toml +++ b/crates/ra_assists/Cargo.toml | |||
@@ -11,6 +11,7 @@ doctest = false | |||
11 | format-buf = "1.0.0" | 11 | format-buf = "1.0.0" |
12 | join_to_string = "0.1.3" | 12 | join_to_string = "0.1.3" |
13 | rustc-hash = "1.1.0" | 13 | rustc-hash = "1.1.0" |
14 | itertools = "0.8.2" | ||
14 | 15 | ||
15 | ra_syntax = { path = "../ra_syntax" } | 16 | ra_syntax = { path = "../ra_syntax" } |
16 | ra_text_edit = { path = "../ra_text_edit" } | 17 | ra_text_edit = { path = "../ra_text_edit" } |