File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -1143,22 +1143,6 @@ fn get_feature_candidates() -> CargoResult<Vec<clap_complete::CompletionCandidat
1143
1143
. help ( Some ( format ! ( "(from {})" , package_name) . into ( ) ) ) ,
1144
1144
) ;
1145
1145
}
1146
-
1147
- // Add qualified features for dependencies
1148
- for dep in package. dependencies ( ) {
1149
- let dep_name = dep. name_in_toml ( ) ;
1150
-
1151
- // Try to find this dependency in the workspace
1152
- if let Some ( dep_pkg) = ws. members ( ) . find ( |p| p. name ( ) == dep_name) {
1153
- for feat in dep_pkg. summary ( ) . features ( ) . keys ( ) {
1154
- let qualified_name = format ! ( "{}/{}" , dep_name, feat) ;
1155
- feature_candidates. push (
1156
- clap_complete:: CompletionCandidate :: new ( qualified_name)
1157
- . help ( Some ( format ! ( "(from {})" , dep_pkg. name( ) ) . into ( ) ) ) ,
1158
- ) ;
1159
- }
1160
- }
1161
- }
1162
1146
}
1163
1147
1164
1148
Ok ( feature_candidates)
You can’t perform that action at this time.
0 commit comments