From ed8c58a3b1cb6f7d5264fa939bf46e3c6cf39046 Mon Sep 17 00:00:00 2001 From: Ryo Yoshida Date: Sun, 11 Jun 2023 17:11:24 +0900 Subject: [PATCH] Remove commented out conflicts --- .../handlers/replace_derive_with_manual_impl.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs b/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs index 0469343dbfb..3bdd795bea8 100644 --- a/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs +++ b/crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs @@ -199,24 +199,8 @@ fn impl_def_from_trait( node }; - // <<<<<<< HEAD - // let trait_items = trait_items - // .into_iter() - // .map(|it| { - // if sema.hir_file_for(it.syntax()).is_macro() { - // if let Some(it) = ast::AssocItem::cast(insert_ws_into(it.syntax().clone())) { - // return it; - // } - // } - // it.clone_for_update() - // }) - // .collect(); - // let first_assoc_item = - // add_trait_assoc_items_to_impl(sema, trait_items, trait_, &impl_def, target_scope); - // ======= let first_assoc_item = add_trait_assoc_items_to_impl(sema, &trait_items, trait_, &impl_def, target_scope); - // >>>>>>> fix(assist): derive source scope from syntax node to be transformed // Generate a default `impl` function body for the derived trait. if let ast::AssocItem::Fn(ref func) = first_assoc_item {