aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-09 09:00:27 +0100
committerAleksey Kladov <[email protected]>2020-04-09 09:00:27 +0100
commitdd2e8e86a9de610ca41846e0088e5e186eddf999 (patch)
treec94bd703a01cc990e42aa5cfa37460504987b1de
parentebd1309c9a3ac0e6b0cee197f30a962d5263e727 (diff)
Fix add missing items assist order
closes #3904
-rw-r--r--crates/ra_assists/src/lib.rs6
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}