rust/crates/ide_assists/src/handlers
bors[bot] a421482e75
Merge #9112
9112: Fix some bugs in `extract_struct_from_enum_variant` assist r=Veykril a=Veykril

bors r+
Fixes #9100
Fixes #9099
Kind of fixes  #9109, it now copies all the generics might be incorrect if the variant doesn't use all of them)

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-06-02 16:18:42 +00:00
..
add_explicit_type.rs add_explicit_type respects @ patterns 2021-05-19 23:27:51 +05:00
add_lifetime_to_type.rs
add_missing_impl_members.rs internal: rewrite assoc item manipulaion to use mutable trees 2021-05-14 18:47:08 +03:00
add_turbo_fish.rs
apply_demorgan.rs
auto_import.rs Update outdated auto-import documentation 2021-05-20 15:31:33 +02:00
change_visibility.rs
convert_comment_block.rs
convert_integer_literal.rs
convert_into_to_from.rs
convert_iter_for_each_to_for.rs
convert_tuple_struct_to_named_struct.rs
early_return.rs
expand_glob_import.rs clippy::redundant_clone fixes 2021-05-26 18:34:50 +03:00
extract_function.rs Extract function assist will add async if required 2021-05-17 18:17:29 +01:00
extract_struct_from_enum_variant.rs Fix references to patterns in extract_struct_from_enum_variant assist 2021-06-02 18:16:59 +02:00
extract_type_alias.rs Place extracted type alias outside of impl 2021-06-02 16:50:44 +02:00
extract_variable.rs
fill_match_arms.rs add test that it does not create extraneous commas 2021-05-24 22:17:16 +03:00
fix_visibility.rs Get rid of field_type again 2021-05-23 23:54:35 +02:00
flip_binexpr.rs
flip_comma.rs
flip_trait_bound.rs
generate_default_from_enum_variant.rs
generate_default_from_new.rs Remove attrs 2021-05-15 21:12:06 +08:00
generate_deref.rs
generate_derive.rs
generate_enum_is_method.rs
generate_enum_projection_method.rs
generate_from_impl_for_enum.rs
generate_function.rs
generate_getter.rs feat: generate getter avoids generating types like &Vec<T> 2021-05-24 00:15:23 +03:00
generate_impl.rs
generate_is_empty_from_len.rs
generate_new.rs internal: use standard style for tests 2021-05-14 18:53:53 +03:00
generate_setter.rs
infer_function_return_type.rs
inline_function.rs
inline_local_variable.rs
introduce_named_lifetime.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
invert_if.rs
merge_imports.rs Don't compare ast::Visibility by stringifying 2021-05-20 17:45:59 +02:00
merge_match_arms.rs
move_bounds.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
move_guard.rs
move_module_to_file.rs
pull_assignment_up.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
qualify_path.rs
raw_string.rs
remove_dbg.rs
remove_mut.rs
remove_unused_param.rs
reorder_fields.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
reorder_impl.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
replace_derive_with_manual_impl.rs
replace_for_loop_with_for_each.rs
replace_if_let_with_match.rs
replace_impl_trait_with_generic.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
replace_let_with_if_let.rs
replace_qualified_name_with_use.rs minor: use uniform names 2021-05-16 14:18:49 +03:00
replace_string_with_char.rs
replace_unwrap_with_match.rs
split_import.rs
toggle_ignore.rs
unmerge_use.rs
unwrap_block.rs
wrap_return_type_in_result.rs