diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-09 09:01:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-09 09:01:34 +0100 |
commit | 01e5bd50f30ae22abab0733468d1e1c6dea7d506 (patch) | |
tree | c94bd703a01cc990e42aa5cfa37460504987b1de /crates/ra_assists/src | |
parent | ebd1309c9a3ac0e6b0cee197f30a962d5263e727 (diff) | |
parent | dd2e8e86a9de610ca41846e0088e5e186eddf999 (diff) |
Merge #3908
3908: Fix add missing items assist order r=matklad a=matklad
closes #3904
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r-- | crates/ra_assists/src/lib.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crates/ra_assists/src/lib.rs b/crates/ra_assists/src/lib.rs index c698d6e8c..5ba5254fd 100644 --- a/crates/ra_assists/src/lib.rs +++ b/crates/ra_assists/src/lib.rs | |||
@@ -132,13 +132,12 @@ mod handlers { | |||
132 | 132 | ||
133 | pub(crate) fn all() -> &'static [AssistHandler] { | 133 | pub(crate) fn all() -> &'static [AssistHandler] { |
134 | &[ | 134 | &[ |
135 | // These are alphabetic for the foolish consistency | ||
135 | add_custom_impl::add_custom_impl, | 136 | add_custom_impl::add_custom_impl, |
136 | add_derive::add_derive, | 137 | add_derive::add_derive, |
137 | add_explicit_type::add_explicit_type, | 138 | add_explicit_type::add_explicit_type, |
138 | add_function::add_function, | 139 | add_function::add_function, |
139 | add_impl::add_impl, | 140 | add_impl::add_impl, |
140 | add_missing_impl_members::add_missing_default_members, | ||
141 | add_missing_impl_members::add_missing_impl_members, | ||
142 | add_new::add_new, | 141 | add_new::add_new, |
143 | apply_demorgan::apply_demorgan, | 142 | apply_demorgan::apply_demorgan, |
144 | auto_import::auto_import, | 143 | auto_import::auto_import, |
@@ -168,6 +167,9 @@ mod handlers { | |||
168 | replace_unwrap_with_match::replace_unwrap_with_match, | 167 | replace_unwrap_with_match::replace_unwrap_with_match, |
169 | split_import::split_import, | 168 | split_import::split_import, |
170 | add_from_impl_for_enum::add_from_impl_for_enum, | 169 | add_from_impl_for_enum::add_from_impl_for_enum, |
170 | // These are manually sorted for better priorities | ||
171 | add_missing_impl_members::add_missing_impl_members, | ||
172 | add_missing_impl_members::add_missing_default_members, | ||
171 | ] | 173 | ] |
172 | } | 174 | } |
173 | } | 175 | } |