From 1f011fa4a3c9793abc4b856d0a6248b9a0451fc1 Mon Sep 17 00:00:00 2001 From: Peh <20146907+randomicon00@users.noreply.github.com> Date: Fri, 29 Apr 2022 14:29:24 +0000 Subject: [PATCH 1/6] style: rename crates to kebab case --- Cargo.lock | 164 +++++++++--------- Cargo.toml | 2 +- crates/{base_db => base-db}/Cargo.toml | 4 +- crates/{base_db => base-db}/src/change.rs | 0 crates/{base_db => base-db}/src/fixture.rs | 0 crates/{base_db => base-db}/src/input.rs | 0 crates/{base_db => base-db}/src/lib.rs | 0 crates/{hir_def => hir-def}/Cargo.toml | 8 +- crates/{hir_def => hir-def}/src/adt.rs | 0 crates/{hir_def => hir-def}/src/attr.rs | 0 crates/{hir_def => hir-def}/src/body.rs | 0 crates/{hir_def => hir-def}/src/body/lower.rs | 0 crates/{hir_def => hir-def}/src/body/scope.rs | 0 crates/{hir_def => hir-def}/src/body/tests.rs | 0 .../src/body/tests/block.rs | 0 .../{hir_def => hir-def}/src/builtin_attr.rs | 0 .../{hir_def => hir-def}/src/builtin_type.rs | 0 .../src/child_by_source.rs | 0 crates/{hir_def => hir-def}/src/data.rs | 0 crates/{hir_def => hir-def}/src/db.rs | 0 crates/{hir_def => hir-def}/src/dyn_map.rs | 0 crates/{hir_def => hir-def}/src/expr.rs | 0 crates/{hir_def => hir-def}/src/find_path.rs | 0 crates/{hir_def => hir-def}/src/generics.rs | 0 crates/{hir_def => hir-def}/src/import_map.rs | 0 crates/{hir_def => hir-def}/src/intern.rs | 0 crates/{hir_def => hir-def}/src/item_scope.rs | 0 crates/{hir_def => hir-def}/src/item_tree.rs | 0 .../src/item_tree/lower.rs | 0 .../src/item_tree/pretty.rs | 0 .../src/item_tree/tests.rs | 0 crates/{hir_def => hir-def}/src/keys.rs | 0 crates/{hir_def => hir-def}/src/lang_item.rs | 0 crates/{hir_def => hir-def}/src/lib.rs | 0 .../src/macro_expansion_tests.rs | 0 .../builtin_derive_macro.rs | 0 .../macro_expansion_tests/builtin_fn_macro.rs | 0 .../src/macro_expansion_tests/mbe.rs | 0 .../src/macro_expansion_tests/mbe/matching.rs | 0 .../macro_expansion_tests/mbe/meta_syntax.rs | 0 .../macro_expansion_tests/mbe/regression.rs | 0 .../mbe/tt_conversion.rs | 0 .../src/macro_expansion_tests/proc_macros.rs | 0 crates/{hir_def => hir-def}/src/nameres.rs | 0 .../src/nameres/attr_resolution.rs | 0 .../src/nameres/collector.rs | 0 .../src/nameres/diagnostics.rs | 0 .../src/nameres/mod_resolution.rs | 0 .../src/nameres/path_resolution.rs | 0 .../src/nameres/proc_macro.rs | 0 .../{hir_def => hir-def}/src/nameres/tests.rs | 0 .../src/nameres/tests/globs.rs | 0 .../src/nameres/tests/incremental.rs | 0 .../src/nameres/tests/macros.rs | 0 .../src/nameres/tests/mod_resolution.rs | 0 .../src/nameres/tests/primitives.rs | 0 crates/{hir_def => hir-def}/src/path.rs | 0 crates/{hir_def => hir-def}/src/path/lower.rs | 0 crates/{hir_def => hir-def}/src/per_ns.rs | 0 crates/{hir_def => hir-def}/src/resolver.rs | 0 crates/{hir_def => hir-def}/src/src.rs | 0 crates/{hir_def => hir-def}/src/test_db.rs | 0 crates/{hir_def => hir-def}/src/trace.rs | 0 crates/{hir_def => hir-def}/src/type_ref.rs | 0 crates/{hir_def => hir-def}/src/visibility.rs | 0 crates/{hir_expand => hir-expand}/Cargo.toml | 4 +- .../src/ast_id_map.rs | 0 .../src/builtin_attr_macro.rs | 0 .../src/builtin_derive_macro.rs | 0 .../src/builtin_fn_macro.rs | 0 crates/{hir_expand => hir-expand}/src/db.rs | 0 .../{hir_expand => hir-expand}/src/eager.rs | 0 .../{hir_expand => hir-expand}/src/fixup.rs | 0 .../{hir_expand => hir-expand}/src/hygiene.rs | 0 crates/{hir_expand => hir-expand}/src/lib.rs | 0 .../src/mod_path.rs | 0 crates/{hir_expand => hir-expand}/src/name.rs | 0 .../src/proc_macro.rs | 0 .../{hir_expand => hir-expand}/src/quote.rs | 0 crates/{hir_ty => hir-ty}/Cargo.toml | 10 +- crates/{hir_ty => hir-ty}/src/autoderef.rs | 0 crates/{hir_ty => hir-ty}/src/builder.rs | 0 crates/{hir_ty => hir-ty}/src/chalk_db.rs | 0 crates/{hir_ty => hir-ty}/src/chalk_ext.rs | 0 crates/{hir_ty => hir-ty}/src/consteval.rs | 0 .../{hir_ty => hir-ty}/src/consteval/tests.rs | 0 crates/{hir_ty => hir-ty}/src/db.rs | 0 crates/{hir_ty => hir-ty}/src/diagnostics.rs | 0 .../src/diagnostics/decl_check.rs | 0 .../src/diagnostics/decl_check/case_conv.rs | 0 .../src/diagnostics/expr.rs | 0 .../src/diagnostics/match_check.rs | 0 .../match_check/deconstruct_pat.rs | 0 .../src/diagnostics/match_check/pat_util.rs | 0 .../src/diagnostics/match_check/usefulness.rs | 0 .../src/diagnostics/unsafe_check.rs | 0 crates/{hir_ty => hir-ty}/src/display.rs | 0 crates/{hir_ty => hir-ty}/src/infer.rs | 0 .../{hir_ty => hir-ty}/src/infer/closure.rs | 0 crates/{hir_ty => hir-ty}/src/infer/coerce.rs | 0 crates/{hir_ty => hir-ty}/src/infer/expr.rs | 0 crates/{hir_ty => hir-ty}/src/infer/pat.rs | 0 crates/{hir_ty => hir-ty}/src/infer/path.rs | 0 crates/{hir_ty => hir-ty}/src/infer/unify.rs | 0 crates/{hir_ty => hir-ty}/src/interner.rs | 0 crates/{hir_ty => hir-ty}/src/lib.rs | 0 crates/{hir_ty => hir-ty}/src/lower.rs | 0 crates/{hir_ty => hir-ty}/src/mapping.rs | 0 .../src/method_resolution.rs | 0 crates/{hir_ty => hir-ty}/src/primitive.rs | 0 crates/{hir_ty => hir-ty}/src/test_db.rs | 0 crates/{hir_ty => hir-ty}/src/tests.rs | 0 .../{hir_ty => hir-ty}/src/tests/coercion.rs | 0 .../src/tests/diagnostics.rs | 0 .../src/tests/display_source_code.rs | 0 .../src/tests/incremental.rs | 0 crates/{hir_ty => hir-ty}/src/tests/macros.rs | 0 .../src/tests/method_resolution.rs | 0 .../src/tests/never_type.rs | 0 .../{hir_ty => hir-ty}/src/tests/patterns.rs | 0 .../src/tests/regression.rs | 0 crates/{hir_ty => hir-ty}/src/tests/simple.rs | 0 crates/{hir_ty => hir-ty}/src/tests/traits.rs | 0 crates/{hir_ty => hir-ty}/src/tls.rs | 0 crates/{hir_ty => hir-ty}/src/traits.rs | 0 crates/{hir_ty => hir-ty}/src/utils.rs | 0 crates/{hir_ty => hir-ty}/src/walk.rs | 0 crates/hir/Cargo.toml | 8 +- .../{ide_assists => ide-assists}/Cargo.toml | 8 +- .../src/assist_config.rs | 0 .../src/assist_context.rs | 0 .../src/handlers/add_explicit_type.rs | 0 .../src/handlers/add_lifetime_to_type.rs | 0 .../src/handlers/add_missing_impl_members.rs | 0 .../src/handlers/add_missing_match_arms.rs | 0 .../src/handlers/add_return_type.rs | 0 .../src/handlers/add_turbo_fish.rs | 0 .../src/handlers/apply_demorgan.rs | 0 .../src/handlers/auto_import.rs | 0 .../src/handlers/change_visibility.rs | 0 .../src/handlers/convert_bool_then.rs | 0 .../src/handlers/convert_comment_block.rs | 0 .../src/handlers/convert_integer_literal.rs | 0 .../src/handlers/convert_into_to_from.rs | 0 .../handlers/convert_iter_for_each_to_for.rs | 0 .../src/handlers/convert_to_guarded_return.rs | 0 .../convert_tuple_struct_to_named_struct.rs | 0 .../src/handlers/convert_while_to_loop.rs | 0 .../src/handlers/destructure_tuple_binding.rs | 0 .../src/handlers/expand_glob_import.rs | 0 .../src/handlers/extract_function.rs | 0 .../src/handlers/extract_module.rs | 0 .../extract_struct_from_enum_variant.rs | 0 .../src/handlers/extract_type_alias.rs | 0 .../src/handlers/extract_variable.rs | 0 .../src/handlers/fix_visibility.rs | 0 .../src/handlers/flip_binexpr.rs | 0 .../src/handlers/flip_comma.rs | 0 .../src/handlers/flip_trait_bound.rs | 0 .../src/handlers/generate_constant.rs | 0 .../generate_default_from_enum_variant.rs | 0 .../src/handlers/generate_default_from_new.rs | 0 .../src/handlers/generate_delegate_methods.rs | 0 .../src/handlers/generate_deref.rs | 0 .../src/handlers/generate_derive.rs | 0 .../generate_documentation_template.rs | 0 .../src/handlers/generate_enum_is_method.rs | 0 .../generate_enum_projection_method.rs | 0 .../handlers/generate_from_impl_for_enum.rs | 0 .../src/handlers/generate_function.rs | 0 .../src/handlers/generate_getter.rs | 0 .../src/handlers/generate_impl.rs | 0 .../handlers/generate_is_empty_from_len.rs | 0 .../src/handlers/generate_new.rs | 0 .../src/handlers/generate_setter.rs | 0 .../src/handlers/inline_call.rs | 0 .../src/handlers/inline_local_variable.rs | 0 .../src/handlers/inline_type_alias.rs | 0 .../src/handlers/introduce_named_generic.rs | 0 .../src/handlers/introduce_named_lifetime.rs | 0 .../src/handlers/invert_if.rs | 0 .../src/handlers/merge_imports.rs | 0 .../src/handlers/merge_match_arms.rs | 0 .../src/handlers/move_bounds.rs | 0 .../src/handlers/move_from_mod_rs.rs | 0 .../src/handlers/move_guard.rs | 0 .../src/handlers/move_module_to_file.rs | 0 .../src/handlers/move_to_mod_rs.rs | 0 .../src/handlers/number_representation.rs | 0 .../src/handlers/promote_local_to_const.rs | 0 .../src/handlers/pull_assignment_up.rs | 0 .../src/handlers/qualify_method_call.rs | 0 .../src/handlers/qualify_path.rs | 0 .../src/handlers/raw_string.rs | 0 .../src/handlers/remove_dbg.rs | 0 .../src/handlers/remove_mut.rs | 0 .../src/handlers/remove_unused_param.rs | 0 .../src/handlers/reorder_fields.rs | 0 .../src/handlers/reorder_impl.rs | 0 .../replace_derive_with_manual_impl.rs | 0 .../src/handlers/replace_if_let_with_match.rs | 0 .../src/handlers/replace_let_with_if_let.rs | 0 .../replace_qualified_name_with_use.rs | 0 .../src/handlers/replace_string_with_char.rs | 0 .../handlers/replace_try_expr_with_match.rs | 0 .../replace_turbofish_with_explicit_type.rs | 0 .../src/handlers/sort_items.rs | 0 .../src/handlers/split_import.rs | 0 .../src/handlers/toggle_ignore.rs | 0 .../src/handlers/unmerge_use.rs | 0 .../src/handlers/unnecessary_async.rs | 0 .../src/handlers/unwrap_block.rs | 0 .../src/handlers/unwrap_result_return_type.rs | 0 .../handlers/wrap_return_type_in_result.rs | 0 .../{ide_assists => ide-assists}/src/lib.rs | 0 .../{ide_assists => ide-assists}/src/tests.rs | 0 .../src/tests/generated.rs | 0 .../src/tests/sourcegen.rs | 0 .../{ide_assists => ide-assists}/src/utils.rs | 0 .../src/utils/gen_trait_fn_body.rs | 0 .../src/utils/suggest_name.rs | 0 .../Cargo.toml | 12 +- .../src/completions.rs | 0 .../src/completions/attribute.rs | 0 .../src/completions/attribute/cfg.rs | 0 .../src/completions/attribute/derive.rs | 0 .../src/completions/attribute/lint.rs | 0 .../src/completions/attribute/repr.rs | 0 .../src/completions/dot.rs | 0 .../src/completions/extern_abi.rs | 0 .../src/completions/flyimport.rs | 0 .../src/completions/fn_param.rs | 0 .../src/completions/format_string.rs | 0 .../src/completions/keyword.rs | 0 .../src/completions/lifetime.rs | 0 .../src/completions/mod_.rs | 0 .../src/completions/pattern.rs | 0 .../src/completions/postfix.rs | 0 .../src/completions/postfix/format_like.rs | 0 .../src/completions/qualified_path.rs | 0 .../src/completions/record.rs | 0 .../src/completions/snippet.rs | 0 .../src/completions/trait_impl.rs | 0 .../src/completions/unqualified_path.rs | 0 .../src/completions/use_.rs | 0 .../src/completions/vis.rs | 0 .../src/config.rs | 0 .../src/context.rs | 0 .../src/item.rs | 0 .../src/lib.rs | 0 .../src/patterns.rs | 0 .../src/render.rs | 0 .../src/render/const_.rs | 0 .../src/render/function.rs | 0 .../src/render/literal.rs | 0 .../src/render/macro_.rs | 0 .../src/render/pattern.rs | 0 .../src/render/type_alias.rs | 0 .../src/render/union_literal.rs | 0 .../src/render/variant.rs | 0 .../src/snippet.rs | 0 .../src/tests.rs | 0 .../src/tests/attribute.rs | 0 .../src/tests/expression.rs | 0 .../src/tests/flyimport.rs | 0 .../src/tests/fn_param.rs | 0 .../src/tests/item.rs | 0 .../src/tests/item_list.rs | 0 .../src/tests/pattern.rs | 0 .../src/tests/predicate.rs | 0 .../src/tests/proc_macros.rs | 0 .../src/tests/record.rs | 0 .../src/tests/type_pos.rs | 0 .../src/tests/use_tree.rs | 0 .../src/tests/visibility.rs | 0 crates/{ide_db => ide-db}/Cargo.toml | 10 +- .../src/active_parameter.rs | 0 crates/{ide_db => ide-db}/src/apply_change.rs | 0 crates/{ide_db => ide-db}/src/assists.rs | 0 crates/{ide_db => ide-db}/src/defs.rs | 0 crates/{ide_db => ide-db}/src/famous_defs.rs | 0 .../{ide_db => ide-db}/src/generated/lints.rs | 0 crates/{ide_db => ide-db}/src/helpers.rs | 0 .../src/imports/import_assets.rs | 0 .../src/imports/insert_use.rs | 0 .../src/imports/insert_use/tests.rs | 0 .../src/imports/merge_imports.rs | 0 .../{ide_db => ide-db}/src/items_locator.rs | 0 crates/{ide_db => ide-db}/src/label.rs | 0 crates/{ide_db => ide-db}/src/lib.rs | 0 crates/{ide_db => ide-db}/src/line_index.rs | 0 .../{ide_db => ide-db}/src/path_transform.rs | 0 crates/{ide_db => ide-db}/src/rename.rs | 0 crates/{ide_db => ide-db}/src/rust_doc.rs | 0 crates/{ide_db => ide-db}/src/search.rs | 0 .../{ide_db => ide-db}/src/source_change.rs | 0 crates/{ide_db => ide-db}/src/symbol_index.rs | 0 .../src/syntax_helpers/format_string.rs | 0 .../insert_whitespace_into_node.rs | 0 .../src/syntax_helpers/node_ext.rs | 0 .../test_symbol_index_collection.txt | 0 .../src/tests/sourcegen_lints.rs | 0 crates/{ide_db => ide-db}/src/traits.rs | 0 crates/{ide_db => ide-db}/src/ty_filter.rs | 0 .../Cargo.toml | 8 +- .../src/handlers/break_outside_of_loop.rs | 0 .../src/handlers/field_shorthand.rs | 0 .../src/handlers/inactive_code.rs | 0 .../src/handlers/incorrect_case.rs | 0 .../src/handlers/invalid_derive_target.rs | 0 .../src/handlers/macro_error.rs | 0 .../src/handlers/malformed_derive.rs | 0 .../src/handlers/mismatched_arg_count.rs | 0 .../src/handlers/missing_fields.rs | 0 .../src/handlers/missing_match_arms.rs | 0 .../src/handlers/missing_unsafe.rs | 0 .../src/handlers/no_such_field.rs | 0 .../replace_filter_map_next_with_find_map.rs | 0 .../src/handlers/type_mismatch.rs | 0 .../handlers/unimplemented_builtin_macro.rs | 0 .../src/handlers/unlinked_file.rs | 0 .../src/handlers/unresolved_extern_crate.rs | 0 .../src/handlers/unresolved_import.rs | 0 .../src/handlers/unresolved_macro_call.rs | 0 .../src/handlers/unresolved_module.rs | 0 .../src/handlers/unresolved_proc_macro.rs | 0 .../src/handlers/useless_braces.rs | 0 .../src/lib.rs | 0 .../src/tests.rs | 0 .../src/tests/sourcegen.rs | 0 crates/{ide_ssr => ide-ssr}/Cargo.toml | 8 +- crates/{ide_ssr => ide-ssr}/src/errors.rs | 0 crates/{ide_ssr => ide-ssr}/src/fragments.rs | 0 .../{ide_ssr => ide-ssr}/src/from_comment.rs | 0 crates/{ide_ssr => ide-ssr}/src/lib.rs | 0 crates/{ide_ssr => ide-ssr}/src/matching.rs | 0 crates/{ide_ssr => ide-ssr}/src/nester.rs | 0 crates/{ide_ssr => ide-ssr}/src/parsing.rs | 0 crates/{ide_ssr => ide-ssr}/src/replacing.rs | 0 crates/{ide_ssr => ide-ssr}/src/resolving.rs | 0 crates/{ide_ssr => ide-ssr}/src/search.rs | 0 crates/{ide_ssr => ide-ssr}/src/tests.rs | 0 crates/ide/Cargo.toml | 16 +- crates/mbe/Cargo.toml | 2 +- .../Cargo.toml | 4 +- .../src/lib.rs | 0 .../src/msg.rs | 0 .../src/msg/flat.rs | 0 .../src/process.rs | 0 .../src/version.rs | 0 .../Cargo.toml | 6 +- .../src/abis/abi_1_48/mod.rs | 0 .../abis/abi_1_48/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_48/proc_macro/bridge/client.rs | 0 .../abi_1_48/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_48/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_48/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_48/proc_macro/bridge/rpc.rs | 0 .../abi_1_48/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_48/proc_macro/bridge/server.rs | 0 .../abis/abi_1_48/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_48/proc_macro/mod.rs | 0 .../src/abis/abi_1_48/rustc_server.rs | 0 .../src/abis/abi_1_54/mod.rs | 0 .../abis/abi_1_54/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_54/proc_macro/bridge/client.rs | 0 .../abi_1_54/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_54/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_54/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_54/proc_macro/bridge/rpc.rs | 0 .../abi_1_54/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_54/proc_macro/bridge/server.rs | 0 .../abis/abi_1_54/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_54/proc_macro/mod.rs | 0 .../src/abis/abi_1_54/rustc_server.rs | 0 .../src/abis/abi_1_56/mod.rs | 0 .../abis/abi_1_56/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_56/proc_macro/bridge/client.rs | 0 .../abi_1_56/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_56/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_56/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_56/proc_macro/bridge/rpc.rs | 0 .../abi_1_56/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_56/proc_macro/bridge/server.rs | 0 .../abis/abi_1_56/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_56/proc_macro/mod.rs | 0 .../src/abis/abi_1_56/proc_macro/quote.rs | 0 .../src/abis/abi_1_56/rustc_server.rs | 0 .../src/abis/abi_1_57/mod.rs | 0 .../abis/abi_1_57/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_57/proc_macro/bridge/client.rs | 0 .../abi_1_57/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_57/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_57/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_57/proc_macro/bridge/rpc.rs | 0 .../abi_1_57/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_57/proc_macro/bridge/server.rs | 0 .../abis/abi_1_57/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_57/proc_macro/mod.rs | 0 .../src/abis/abi_1_57/proc_macro/quote.rs | 0 .../src/abis/abi_1_57/rustc_server.rs | 0 .../src/abis/abi_1_58/mod.rs | 0 .../abis/abi_1_58/proc_macro/bridge/buffer.rs | 0 .../abis/abi_1_58/proc_macro/bridge/client.rs | 0 .../abi_1_58/proc_macro/bridge/closure.rs | 0 .../abis/abi_1_58/proc_macro/bridge/handle.rs | 0 .../abis/abi_1_58/proc_macro/bridge/mod.rs | 0 .../abis/abi_1_58/proc_macro/bridge/rpc.rs | 0 .../abi_1_58/proc_macro/bridge/scoped_cell.rs | 0 .../abis/abi_1_58/proc_macro/bridge/server.rs | 0 .../abis/abi_1_58/proc_macro/diagnostic.rs | 0 .../src/abis/abi_1_58/proc_macro/mod.rs | 0 .../src/abis/abi_1_58/proc_macro/quote.rs | 0 .../src/abis/abi_1_58/rustc_server.rs | 0 .../src/abis/mod.rs | 0 .../src/cli.rs | 0 .../src/dylib.rs | 0 .../src/lib.rs | 0 .../src/tests/mod.rs | 0 .../src/tests/utils.rs | 0 crates/proc-macro-test/.build.rs.swp | Bin 0 -> 12288 bytes .../Cargo.toml | 4 +- .../build.rs | 8 +- .../imp/.gitignore | 0 .../imp/Cargo.toml | 2 +- .../imp/src/lib.rs | 0 .../src/lib.rs | 0 .../Cargo.toml | 4 +- .../src/build_scripts.rs | 0 .../src/cargo_workspace.rs | 0 .../src/cfg_flag.rs | 0 .../src/lib.rs | 0 .../src/manifest_path.rs | 0 .../src/project_json.rs | 0 .../src/rustc_cfg.rs | 0 .../src/sysroot.rs | 0 .../src/tests.rs | 0 .../src/workspace.rs | 0 .../test_data/fake-sysroot/alloc/src/lib.rs | 0 .../test_data/fake-sysroot/core/src/lib.rs | 0 .../fake-sysroot/panic_abort/src/lib.rs | 0 .../fake-sysroot/panic_unwind/src/lib.rs | 0 .../fake-sysroot/proc_macro/src/lib.rs | 0 .../fake-sysroot/profiler_builtins/src/lib.rs | 0 .../test_data/fake-sysroot/std/src/lib.rs | 0 .../stdarch/crates/std_detect/src/lib.rs | 0 .../test_data/fake-sysroot/term/src/lib.rs | 0 .../test_data/fake-sysroot/test/src/lib.rs | 0 .../test_data/fake-sysroot/unwind/src/lib.rs | 0 .../test_data/hello-world-metadata.json | 0 .../test_data/hello-world-project.json | 0 .../test_data/is-proc-macro-project.json | 0 crates/rust-analyzer/Cargo.toml | 16 +- crates/syntax/Cargo.toml | 4 +- crates/{test_utils => test-utils}/Cargo.toml | 2 +- .../src/assert_linear.rs | 0 .../src/bench_fixture.rs | 0 .../{test_utils => test-utils}/src/fixture.rs | 0 crates/{test_utils => test-utils}/src/lib.rs | 0 .../src/minicore.rs | 0 crates/{text_edit => text-edit}/Cargo.toml | 2 +- crates/{text_edit => text-edit}/src/lib.rs | 0 462 files changed, 158 insertions(+), 158 deletions(-) rename crates/{base_db => base-db}/Cargo.toml (86%) rename crates/{base_db => base-db}/src/change.rs (100%) rename crates/{base_db => base-db}/src/fixture.rs (100%) rename crates/{base_db => base-db}/src/input.rs (100%) rename crates/{base_db => base-db}/src/lib.rs (100%) rename crates/{hir_def => hir-def}/Cargo.toml (85%) rename crates/{hir_def => hir-def}/src/adt.rs (100%) rename crates/{hir_def => hir-def}/src/attr.rs (100%) rename crates/{hir_def => hir-def}/src/body.rs (100%) rename crates/{hir_def => hir-def}/src/body/lower.rs (100%) rename crates/{hir_def => hir-def}/src/body/scope.rs (100%) rename crates/{hir_def => hir-def}/src/body/tests.rs (100%) rename crates/{hir_def => hir-def}/src/body/tests/block.rs (100%) rename crates/{hir_def => hir-def}/src/builtin_attr.rs (100%) rename crates/{hir_def => hir-def}/src/builtin_type.rs (100%) rename crates/{hir_def => hir-def}/src/child_by_source.rs (100%) rename crates/{hir_def => hir-def}/src/data.rs (100%) rename crates/{hir_def => hir-def}/src/db.rs (100%) rename crates/{hir_def => hir-def}/src/dyn_map.rs (100%) rename crates/{hir_def => hir-def}/src/expr.rs (100%) rename crates/{hir_def => hir-def}/src/find_path.rs (100%) rename crates/{hir_def => hir-def}/src/generics.rs (100%) rename crates/{hir_def => hir-def}/src/import_map.rs (100%) rename crates/{hir_def => hir-def}/src/intern.rs (100%) rename crates/{hir_def => hir-def}/src/item_scope.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/lower.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/pretty.rs (100%) rename crates/{hir_def => hir-def}/src/item_tree/tests.rs (100%) rename crates/{hir_def => hir-def}/src/keys.rs (100%) rename crates/{hir_def => hir-def}/src/lang_item.rs (100%) rename crates/{hir_def => hir-def}/src/lib.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/builtin_derive_macro.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/builtin_fn_macro.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/matching.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/meta_syntax.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/regression.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/mbe/tt_conversion.rs (100%) rename crates/{hir_def => hir-def}/src/macro_expansion_tests/proc_macros.rs (100%) rename crates/{hir_def => hir-def}/src/nameres.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/attr_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/collector.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/diagnostics.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/mod_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/path_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/proc_macro.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/globs.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/incremental.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/macros.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/mod_resolution.rs (100%) rename crates/{hir_def => hir-def}/src/nameres/tests/primitives.rs (100%) rename crates/{hir_def => hir-def}/src/path.rs (100%) rename crates/{hir_def => hir-def}/src/path/lower.rs (100%) rename crates/{hir_def => hir-def}/src/per_ns.rs (100%) rename crates/{hir_def => hir-def}/src/resolver.rs (100%) rename crates/{hir_def => hir-def}/src/src.rs (100%) rename crates/{hir_def => hir-def}/src/test_db.rs (100%) rename crates/{hir_def => hir-def}/src/trace.rs (100%) rename crates/{hir_def => hir-def}/src/type_ref.rs (100%) rename crates/{hir_def => hir-def}/src/visibility.rs (100%) rename crates/{hir_expand => hir-expand}/Cargo.toml (91%) rename crates/{hir_expand => hir-expand}/src/ast_id_map.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_attr_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_derive_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/builtin_fn_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/db.rs (100%) rename crates/{hir_expand => hir-expand}/src/eager.rs (100%) rename crates/{hir_expand => hir-expand}/src/fixup.rs (100%) rename crates/{hir_expand => hir-expand}/src/hygiene.rs (100%) rename crates/{hir_expand => hir-expand}/src/lib.rs (100%) rename crates/{hir_expand => hir-expand}/src/mod_path.rs (100%) rename crates/{hir_expand => hir-expand}/src/name.rs (100%) rename crates/{hir_expand => hir-expand}/src/proc_macro.rs (100%) rename crates/{hir_expand => hir-expand}/src/quote.rs (100%) rename crates/{hir_ty => hir-ty}/Cargo.toml (81%) rename crates/{hir_ty => hir-ty}/src/autoderef.rs (100%) rename crates/{hir_ty => hir-ty}/src/builder.rs (100%) rename crates/{hir_ty => hir-ty}/src/chalk_db.rs (100%) rename crates/{hir_ty => hir-ty}/src/chalk_ext.rs (100%) rename crates/{hir_ty => hir-ty}/src/consteval.rs (100%) rename crates/{hir_ty => hir-ty}/src/consteval/tests.rs (100%) rename crates/{hir_ty => hir-ty}/src/db.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/decl_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/decl_check/case_conv.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/expr.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/deconstruct_pat.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/pat_util.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/match_check/usefulness.rs (100%) rename crates/{hir_ty => hir-ty}/src/diagnostics/unsafe_check.rs (100%) rename crates/{hir_ty => hir-ty}/src/display.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/closure.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/coerce.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/expr.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/pat.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/path.rs (100%) rename crates/{hir_ty => hir-ty}/src/infer/unify.rs (100%) rename crates/{hir_ty => hir-ty}/src/interner.rs (100%) rename crates/{hir_ty => hir-ty}/src/lib.rs (100%) rename crates/{hir_ty => hir-ty}/src/lower.rs (100%) rename crates/{hir_ty => hir-ty}/src/mapping.rs (100%) rename crates/{hir_ty => hir-ty}/src/method_resolution.rs (100%) rename crates/{hir_ty => hir-ty}/src/primitive.rs (100%) rename crates/{hir_ty => hir-ty}/src/test_db.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/coercion.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/diagnostics.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/display_source_code.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/incremental.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/macros.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/method_resolution.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/never_type.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/patterns.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/regression.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/simple.rs (100%) rename crates/{hir_ty => hir-ty}/src/tests/traits.rs (100%) rename crates/{hir_ty => hir-ty}/src/tls.rs (100%) rename crates/{hir_ty => hir-ty}/src/traits.rs (100%) rename crates/{hir_ty => hir-ty}/src/utils.rs (100%) rename crates/{hir_ty => hir-ty}/src/walk.rs (100%) rename crates/{ide_assists => ide-assists}/Cargo.toml (74%) rename crates/{ide_assists => ide-assists}/src/assist_config.rs (100%) rename crates/{ide_assists => ide-assists}/src/assist_context.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_explicit_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_lifetime_to_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_missing_impl_members.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_missing_match_arms.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_return_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/add_turbo_fish.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/apply_demorgan.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/auto_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/change_visibility.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_bool_then.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_comment_block.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_integer_literal.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_into_to_from.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_iter_for_each_to_for.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_to_guarded_return.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_tuple_struct_to_named_struct.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/convert_while_to_loop.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/destructure_tuple_binding.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/expand_glob_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_function.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_module.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_struct_from_enum_variant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_type_alias.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/extract_variable.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/fix_visibility.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_binexpr.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_comma.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/flip_trait_bound.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_constant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_default_from_enum_variant.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_default_from_new.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_delegate_methods.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_deref.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_derive.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_documentation_template.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_enum_is_method.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_enum_projection_method.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_from_impl_for_enum.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_function.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_getter.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_is_empty_from_len.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_new.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/generate_setter.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_call.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_local_variable.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/inline_type_alias.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/introduce_named_generic.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/introduce_named_lifetime.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/invert_if.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/merge_imports.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/merge_match_arms.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_bounds.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_from_mod_rs.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_guard.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_module_to_file.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/move_to_mod_rs.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/number_representation.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/promote_local_to_const.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/pull_assignment_up.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/qualify_method_call.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/qualify_path.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/raw_string.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_dbg.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_mut.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/remove_unused_param.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/reorder_fields.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/reorder_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_derive_with_manual_impl.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_if_let_with_match.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_let_with_if_let.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_qualified_name_with_use.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_string_with_char.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_try_expr_with_match.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/replace_turbofish_with_explicit_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/sort_items.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/split_import.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/toggle_ignore.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unmerge_use.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unnecessary_async.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unwrap_block.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/unwrap_result_return_type.rs (100%) rename crates/{ide_assists => ide-assists}/src/handlers/wrap_return_type_in_result.rs (100%) rename crates/{ide_assists => ide-assists}/src/lib.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests/generated.rs (100%) rename crates/{ide_assists => ide-assists}/src/tests/sourcegen.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils/gen_trait_fn_body.rs (100%) rename crates/{ide_assists => ide-assists}/src/utils/suggest_name.rs (100%) rename crates/{ide_completion => ide-completion}/Cargo.toml (66%) rename crates/{ide_completion => ide-completion}/src/completions.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/cfg.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/derive.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/lint.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/attribute/repr.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/dot.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/extern_abi.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/flyimport.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/fn_param.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/format_string.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/keyword.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/lifetime.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/mod_.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/postfix.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/postfix/format_like.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/qualified_path.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/record.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/snippet.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/trait_impl.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/unqualified_path.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/use_.rs (100%) rename crates/{ide_completion => ide-completion}/src/completions/vis.rs (100%) rename crates/{ide_completion => ide-completion}/src/config.rs (100%) rename crates/{ide_completion => ide-completion}/src/context.rs (100%) rename crates/{ide_completion => ide-completion}/src/item.rs (100%) rename crates/{ide_completion => ide-completion}/src/lib.rs (100%) rename crates/{ide_completion => ide-completion}/src/patterns.rs (100%) rename crates/{ide_completion => ide-completion}/src/render.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/const_.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/function.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/literal.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/macro_.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/type_alias.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/union_literal.rs (100%) rename crates/{ide_completion => ide-completion}/src/render/variant.rs (100%) rename crates/{ide_completion => ide-completion}/src/snippet.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/attribute.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/expression.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/flyimport.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/fn_param.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/item.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/item_list.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/pattern.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/predicate.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/proc_macros.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/record.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/type_pos.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/use_tree.rs (100%) rename crates/{ide_completion => ide-completion}/src/tests/visibility.rs (100%) rename crates/{ide_db => ide-db}/Cargo.toml (78%) rename crates/{ide_db => ide-db}/src/active_parameter.rs (100%) rename crates/{ide_db => ide-db}/src/apply_change.rs (100%) rename crates/{ide_db => ide-db}/src/assists.rs (100%) rename crates/{ide_db => ide-db}/src/defs.rs (100%) rename crates/{ide_db => ide-db}/src/famous_defs.rs (100%) rename crates/{ide_db => ide-db}/src/generated/lints.rs (100%) rename crates/{ide_db => ide-db}/src/helpers.rs (100%) rename crates/{ide_db => ide-db}/src/imports/import_assets.rs (100%) rename crates/{ide_db => ide-db}/src/imports/insert_use.rs (100%) rename crates/{ide_db => ide-db}/src/imports/insert_use/tests.rs (100%) rename crates/{ide_db => ide-db}/src/imports/merge_imports.rs (100%) rename crates/{ide_db => ide-db}/src/items_locator.rs (100%) rename crates/{ide_db => ide-db}/src/label.rs (100%) rename crates/{ide_db => ide-db}/src/lib.rs (100%) rename crates/{ide_db => ide-db}/src/line_index.rs (100%) rename crates/{ide_db => ide-db}/src/path_transform.rs (100%) rename crates/{ide_db => ide-db}/src/rename.rs (100%) rename crates/{ide_db => ide-db}/src/rust_doc.rs (100%) rename crates/{ide_db => ide-db}/src/search.rs (100%) rename crates/{ide_db => ide-db}/src/source_change.rs (100%) rename crates/{ide_db => ide-db}/src/symbol_index.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/format_string.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/insert_whitespace_into_node.rs (100%) rename crates/{ide_db => ide-db}/src/syntax_helpers/node_ext.rs (100%) rename crates/{ide_db => ide-db}/src/test_data/test_symbol_index_collection.txt (100%) rename crates/{ide_db => ide-db}/src/tests/sourcegen_lints.rs (100%) rename crates/{ide_db => ide-db}/src/traits.rs (100%) rename crates/{ide_db => ide-db}/src/ty_filter.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/Cargo.toml (75%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/break_outside_of_loop.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/field_shorthand.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/inactive_code.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/incorrect_case.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/invalid_derive_target.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/macro_error.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/malformed_derive.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/mismatched_arg_count.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_fields.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_match_arms.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/missing_unsafe.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/no_such_field.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/replace_filter_map_next_with_find_map.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/type_mismatch.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unimplemented_builtin_macro.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unlinked_file.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_extern_crate.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_import.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_macro_call.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_module.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/unresolved_proc_macro.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/handlers/useless_braces.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/lib.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/tests.rs (100%) rename crates/{ide_diagnostics => ide-diagnostics}/src/tests/sourcegen.rs (100%) rename crates/{ide_ssr => ide-ssr}/Cargo.toml (74%) rename crates/{ide_ssr => ide-ssr}/src/errors.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/fragments.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/from_comment.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/lib.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/matching.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/nester.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/parsing.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/replacing.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/resolving.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/search.rs (100%) rename crates/{ide_ssr => ide-ssr}/src/tests.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/Cargo.toml (90%) rename crates/{proc_macro_api => proc-macro-api}/src/lib.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/msg.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/msg/flat.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/process.rs (100%) rename crates/{proc_macro_api => proc-macro-api}/src/version.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/Cargo.toml (79%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_48/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_54/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_56/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_57/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/buffer.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/client.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/closure.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/handle.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/rpc.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/bridge/server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/diagnostic.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/proc_macro/quote.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/abi_1_58/rustc_server.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/abis/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/cli.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/dylib.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/lib.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/tests/mod.rs (100%) rename crates/{proc_macro_srv => proc-macro-srv}/src/tests/utils.rs (100%) create mode 100644 crates/proc-macro-test/.build.rs.swp rename crates/{proc_macro_test => proc-macro-test}/Cargo.toml (74%) rename crates/{proc_macro_test => proc-macro-test}/build.rs (87%) rename crates/{proc_macro_test => proc-macro-test}/imp/.gitignore (100%) rename crates/{proc_macro_test => proc-macro-test}/imp/Cargo.toml (90%) rename crates/{proc_macro_test => proc-macro-test}/imp/src/lib.rs (100%) rename crates/{proc_macro_test => proc-macro-test}/src/lib.rs (100%) rename crates/{project_model => project-model}/Cargo.toml (89%) rename crates/{project_model => project-model}/src/build_scripts.rs (100%) rename crates/{project_model => project-model}/src/cargo_workspace.rs (100%) rename crates/{project_model => project-model}/src/cfg_flag.rs (100%) rename crates/{project_model => project-model}/src/lib.rs (100%) rename crates/{project_model => project-model}/src/manifest_path.rs (100%) rename crates/{project_model => project-model}/src/project_json.rs (100%) rename crates/{project_model => project-model}/src/rustc_cfg.rs (100%) rename crates/{project_model => project-model}/src/sysroot.rs (100%) rename crates/{project_model => project-model}/src/tests.rs (100%) rename crates/{project_model => project-model}/src/workspace.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/alloc/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/core/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/panic_abort/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/panic_unwind/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/proc_macro/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/profiler_builtins/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/std/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/stdarch/crates/std_detect/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/term/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/test/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/fake-sysroot/unwind/src/lib.rs (100%) rename crates/{project_model => project-model}/test_data/hello-world-metadata.json (100%) rename crates/{project_model => project-model}/test_data/hello-world-project.json (100%) rename crates/{project_model => project-model}/test_data/is-proc-macro-project.json (100%) rename crates/{test_utils => test-utils}/Cargo.toml (95%) rename crates/{test_utils => test-utils}/src/assert_linear.rs (100%) rename crates/{test_utils => test-utils}/src/bench_fixture.rs (100%) rename crates/{test_utils => test-utils}/src/fixture.rs (100%) rename crates/{test_utils => test-utils}/src/lib.rs (100%) rename crates/{test_utils => test-utils}/src/minicore.rs (100%) rename crates/{text_edit => text-edit}/Cargo.toml (91%) rename crates/{text_edit => text-edit}/src/lib.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index 2850895d6599..051906f87c4d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -92,7 +92,7 @@ dependencies = [ ] [[package]] -name = "base_db" +name = "base-db" version = "0.0.0" dependencies = [ "cfg", @@ -101,7 +101,7 @@ dependencies = [ "salsa", "stdx", "syntax", - "test_utils", + "test-utils", "tt", "vfs", ] @@ -474,12 +474,12 @@ name = "hir" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "cfg", "either", - "hir_def", - "hir_expand", - "hir_ty", + "hir-def", + "hir-expand", + "hir-ty", "itertools", "once_cell", "profile", @@ -491,12 +491,12 @@ dependencies = [ ] [[package]] -name = "hir_def" +name = "hir-def" version = "0.0.0" dependencies = [ "anymap", "arrayvec", - "base_db", + "base-db", "bitflags", "cfg", "cov-mark", @@ -505,7 +505,7 @@ dependencies = [ "either", "expect-test", "fst", - "hir_expand", + "hir-expand", "indexmap", "itertools", "la-arena", @@ -519,16 +519,16 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tt", ] [[package]] -name = "hir_expand" +name = "hir-expand" version = "0.0.0" dependencies = [ - "base_db", + "base-db", "cfg", "cov-mark", "either", @@ -546,19 +546,19 @@ dependencies = [ ] [[package]] -name = "hir_ty" +name = "hir-ty" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "chalk-ir", "chalk-recursive", "chalk-solve", "cov-mark", "ena", "expect-test", - "hir_def", - "hir_expand", + "hir-def", + "hir-expand", "itertools", "la-arena", "limit", @@ -569,7 +569,7 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tracing-subscriber", "tracing-tree", @@ -596,11 +596,11 @@ dependencies = [ "either", "expect-test", "hir", - "ide_assists", - "ide_completion", - "ide_db", - "ide_diagnostics", - "ide_ssr", + "ide-assists", + "ide-completion", + "ide-db", + "ide-diagnostics", + "ide-ssr", "itertools", "oorandom", "profile", @@ -608,56 +608,56 @@ dependencies = [ "pulldown-cmark-to-cmark", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "toolchain", "tracing", "url", ] [[package]] -name = "ide_assists" +name = "ide-assists" version = "0.0.0" dependencies = [ "cov-mark", "either", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "profile", "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_completion" +name = "ide-completion" version = "0.0.0" dependencies = [ - "base_db", + "base-db", "cov-mark", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "once_cell", "profile", "smallvec", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_db" +name = "ide-db" version = "0.0.0" dependencies = [ "arrayvec", - "base_db", + "base-db", "cov-mark", "either", "expect-test", @@ -674,14 +674,14 @@ dependencies = [ "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "tracing", "xshell", ] [[package]] -name = "ide_diagnostics" +name = "ide-diagnostics" version = "0.0.0" dependencies = [ "cfg", @@ -689,29 +689,29 @@ dependencies = [ "either", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "profile", "sourcegen", "stdx", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] -name = "ide_ssr" +name = "ide-ssr" version = "0.0.0" dependencies = [ "cov-mark", "expect-test", "hir", - "ide_db", + "ide-db", "itertools", "parser", "syntax", - "test_utils", - "text_edit", + "test-utils", + "text-edit", ] [[package]] @@ -913,7 +913,7 @@ dependencies = [ "smallvec", "stdx", "syntax", - "test_utils", + "test-utils", "tracing", "tt", ] @@ -1180,16 +1180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c" [[package]] -name = "proc-macro2" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" -dependencies = [ - "unicode-xid", -] - -[[package]] -name = "proc_macro_api" +name = "proc-macro-api" version = "0.0.0" dependencies = [ "memmap2", @@ -1205,7 +1196,7 @@ dependencies = [ ] [[package]] -name = "proc_macro_srv" +name = "proc-macro-srv" version = "0.0.0" dependencies = [ "expect-test", @@ -1214,24 +1205,33 @@ dependencies = [ "memmap2", "object 0.28.3", "paths", - "proc_macro_api", - "proc_macro_test", + "proc-macro-api", + "proc-macro-test", "tt", ] [[package]] -name = "proc_macro_test" +name = "proc-macro-test" version = "0.0.0" dependencies = [ "cargo_metadata", - "proc_macro_test_impl", + "proc-macro-test-impl", "toolchain", ] [[package]] -name = "proc_macro_test_impl" +name = "proc-macro-test-impl" version = "0.0.0" +[[package]] +name = "proc-macro2" +version = "1.0.37" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1" +dependencies = [ + "unicode-xid", +] + [[package]] name = "profile" version = "0.0.0" @@ -1247,11 +1247,11 @@ dependencies = [ ] [[package]] -name = "project_model" +name = "project-model" version = "0.0.0" dependencies = [ "anyhow", - "base_db", + "base-db", "cargo_metadata", "cfg", "expect-test", @@ -1378,11 +1378,11 @@ dependencies = [ "expect-test", "flycheck", "hir", - "hir_def", - "hir_ty", + "hir-def", + "hir-ty", "ide", - "ide_db", - "ide_ssr", + "ide-db", + "ide-ssr", "itertools", "jod-thread", "lsp-server", @@ -1392,10 +1392,10 @@ dependencies = [ "num_cpus", "oorandom", "parking_lot 0.12.0", - "proc_macro_api", - "proc_macro_srv", + "proc-macro-api", + "proc-macro-srv", "profile", - "project_model", + "project-model", "rayon", "rustc-hash", "serde", @@ -1403,7 +1403,7 @@ dependencies = [ "sourcegen", "stdx", "syntax", - "test_utils", + "test-utils", "threadpool", "tikv-jemallocator", "toolchain", @@ -1639,13 +1639,13 @@ dependencies = [ "smol_str", "sourcegen", "stdx", - "test_utils", - "text_edit", + "test-utils", + "text-edit", "ungrammar", ] [[package]] -name = "test_utils" +name = "test-utils" version = "0.0.0" dependencies = [ "dissimilar", @@ -1656,19 +1656,19 @@ dependencies = [ ] [[package]] -name = "text-size" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "288cb548dbe72b652243ea797201f3d481a0609a967980fcc5b2315ea811560a" - -[[package]] -name = "text_edit" +name = "text-edit" version = "0.0.0" dependencies = [ "itertools", "text-size", ] +[[package]] +name = "text-size" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "288cb548dbe72b652243ea797201f3d481a0609a967980fcc5b2315ea811560a" + [[package]] name = "thread_local" version = "1.1.4" diff --git a/Cargo.toml b/Cargo.toml index 3f83041bec0e..6b68ca823894 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] members = ["xtask/", "lib/*", "crates/*"] -exclude = ["crates/proc_macro_test/imp"] +exclude = ["crates/proc-macro-test/imp"] [profile.dev] # Disabling debug info speeds up builds a bunch, diff --git a/crates/base_db/Cargo.toml b/crates/base-db/Cargo.toml similarity index 86% rename from crates/base_db/Cargo.toml rename to crates/base-db/Cargo.toml index 7ef82f6a3428..f02a51ab6c47 100644 --- a/crates/base_db/Cargo.toml +++ b/crates/base-db/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "base_db" +name = "base-db" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -18,5 +18,5 @@ stdx = { path = "../stdx", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } -test_utils = { path = "../test_utils", version = "0.0.0" } +test-utils = { path = "../test-utils", version = "0.0.0" } vfs = { path = "../vfs", version = "0.0.0" } diff --git a/crates/base_db/src/change.rs b/crates/base-db/src/change.rs similarity index 100% rename from crates/base_db/src/change.rs rename to crates/base-db/src/change.rs diff --git a/crates/base_db/src/fixture.rs b/crates/base-db/src/fixture.rs similarity index 100% rename from crates/base_db/src/fixture.rs rename to crates/base-db/src/fixture.rs diff --git a/crates/base_db/src/input.rs b/crates/base-db/src/input.rs similarity index 100% rename from crates/base_db/src/input.rs rename to crates/base-db/src/input.rs diff --git a/crates/base_db/src/lib.rs b/crates/base-db/src/lib.rs similarity index 100% rename from crates/base_db/src/lib.rs rename to crates/base-db/src/lib.rs diff --git a/crates/hir_def/Cargo.toml b/crates/hir-def/Cargo.toml similarity index 85% rename from crates/hir_def/Cargo.toml rename to crates/hir-def/Cargo.toml index 5863092839b8..d369c3ed282e 100644 --- a/crates/hir_def/Cargo.toml +++ b/crates/hir-def/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_def" +name = "hir-def" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -29,15 +29,15 @@ arrayvec = "0.7.2" la-arena = { version = "0.3.0", path = "../../lib/arena" } stdx = { path = "../stdx", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/hir_def/src/adt.rs b/crates/hir-def/src/adt.rs similarity index 100% rename from crates/hir_def/src/adt.rs rename to crates/hir-def/src/adt.rs diff --git a/crates/hir_def/src/attr.rs b/crates/hir-def/src/attr.rs similarity index 100% rename from crates/hir_def/src/attr.rs rename to crates/hir-def/src/attr.rs diff --git a/crates/hir_def/src/body.rs b/crates/hir-def/src/body.rs similarity index 100% rename from crates/hir_def/src/body.rs rename to crates/hir-def/src/body.rs diff --git a/crates/hir_def/src/body/lower.rs b/crates/hir-def/src/body/lower.rs similarity index 100% rename from crates/hir_def/src/body/lower.rs rename to crates/hir-def/src/body/lower.rs diff --git a/crates/hir_def/src/body/scope.rs b/crates/hir-def/src/body/scope.rs similarity index 100% rename from crates/hir_def/src/body/scope.rs rename to crates/hir-def/src/body/scope.rs diff --git a/crates/hir_def/src/body/tests.rs b/crates/hir-def/src/body/tests.rs similarity index 100% rename from crates/hir_def/src/body/tests.rs rename to crates/hir-def/src/body/tests.rs diff --git a/crates/hir_def/src/body/tests/block.rs b/crates/hir-def/src/body/tests/block.rs similarity index 100% rename from crates/hir_def/src/body/tests/block.rs rename to crates/hir-def/src/body/tests/block.rs diff --git a/crates/hir_def/src/builtin_attr.rs b/crates/hir-def/src/builtin_attr.rs similarity index 100% rename from crates/hir_def/src/builtin_attr.rs rename to crates/hir-def/src/builtin_attr.rs diff --git a/crates/hir_def/src/builtin_type.rs b/crates/hir-def/src/builtin_type.rs similarity index 100% rename from crates/hir_def/src/builtin_type.rs rename to crates/hir-def/src/builtin_type.rs diff --git a/crates/hir_def/src/child_by_source.rs b/crates/hir-def/src/child_by_source.rs similarity index 100% rename from crates/hir_def/src/child_by_source.rs rename to crates/hir-def/src/child_by_source.rs diff --git a/crates/hir_def/src/data.rs b/crates/hir-def/src/data.rs similarity index 100% rename from crates/hir_def/src/data.rs rename to crates/hir-def/src/data.rs diff --git a/crates/hir_def/src/db.rs b/crates/hir-def/src/db.rs similarity index 100% rename from crates/hir_def/src/db.rs rename to crates/hir-def/src/db.rs diff --git a/crates/hir_def/src/dyn_map.rs b/crates/hir-def/src/dyn_map.rs similarity index 100% rename from crates/hir_def/src/dyn_map.rs rename to crates/hir-def/src/dyn_map.rs diff --git a/crates/hir_def/src/expr.rs b/crates/hir-def/src/expr.rs similarity index 100% rename from crates/hir_def/src/expr.rs rename to crates/hir-def/src/expr.rs diff --git a/crates/hir_def/src/find_path.rs b/crates/hir-def/src/find_path.rs similarity index 100% rename from crates/hir_def/src/find_path.rs rename to crates/hir-def/src/find_path.rs diff --git a/crates/hir_def/src/generics.rs b/crates/hir-def/src/generics.rs similarity index 100% rename from crates/hir_def/src/generics.rs rename to crates/hir-def/src/generics.rs diff --git a/crates/hir_def/src/import_map.rs b/crates/hir-def/src/import_map.rs similarity index 100% rename from crates/hir_def/src/import_map.rs rename to crates/hir-def/src/import_map.rs diff --git a/crates/hir_def/src/intern.rs b/crates/hir-def/src/intern.rs similarity index 100% rename from crates/hir_def/src/intern.rs rename to crates/hir-def/src/intern.rs diff --git a/crates/hir_def/src/item_scope.rs b/crates/hir-def/src/item_scope.rs similarity index 100% rename from crates/hir_def/src/item_scope.rs rename to crates/hir-def/src/item_scope.rs diff --git a/crates/hir_def/src/item_tree.rs b/crates/hir-def/src/item_tree.rs similarity index 100% rename from crates/hir_def/src/item_tree.rs rename to crates/hir-def/src/item_tree.rs diff --git a/crates/hir_def/src/item_tree/lower.rs b/crates/hir-def/src/item_tree/lower.rs similarity index 100% rename from crates/hir_def/src/item_tree/lower.rs rename to crates/hir-def/src/item_tree/lower.rs diff --git a/crates/hir_def/src/item_tree/pretty.rs b/crates/hir-def/src/item_tree/pretty.rs similarity index 100% rename from crates/hir_def/src/item_tree/pretty.rs rename to crates/hir-def/src/item_tree/pretty.rs diff --git a/crates/hir_def/src/item_tree/tests.rs b/crates/hir-def/src/item_tree/tests.rs similarity index 100% rename from crates/hir_def/src/item_tree/tests.rs rename to crates/hir-def/src/item_tree/tests.rs diff --git a/crates/hir_def/src/keys.rs b/crates/hir-def/src/keys.rs similarity index 100% rename from crates/hir_def/src/keys.rs rename to crates/hir-def/src/keys.rs diff --git a/crates/hir_def/src/lang_item.rs b/crates/hir-def/src/lang_item.rs similarity index 100% rename from crates/hir_def/src/lang_item.rs rename to crates/hir-def/src/lang_item.rs diff --git a/crates/hir_def/src/lib.rs b/crates/hir-def/src/lib.rs similarity index 100% rename from crates/hir_def/src/lib.rs rename to crates/hir-def/src/lib.rs diff --git a/crates/hir_def/src/macro_expansion_tests.rs b/crates/hir-def/src/macro_expansion_tests.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests.rs rename to crates/hir-def/src/macro_expansion_tests.rs diff --git a/crates/hir_def/src/macro_expansion_tests/builtin_derive_macro.rs b/crates/hir-def/src/macro_expansion_tests/builtin_derive_macro.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/builtin_derive_macro.rs rename to crates/hir-def/src/macro_expansion_tests/builtin_derive_macro.rs diff --git a/crates/hir_def/src/macro_expansion_tests/builtin_fn_macro.rs b/crates/hir-def/src/macro_expansion_tests/builtin_fn_macro.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/builtin_fn_macro.rs rename to crates/hir-def/src/macro_expansion_tests/builtin_fn_macro.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe.rs b/crates/hir-def/src/macro_expansion_tests/mbe.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe.rs rename to crates/hir-def/src/macro_expansion_tests/mbe.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/matching.rs b/crates/hir-def/src/macro_expansion_tests/mbe/matching.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/matching.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/matching.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/meta_syntax.rs b/crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/meta_syntax.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/meta_syntax.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/regression.rs b/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/regression.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/regression.rs diff --git a/crates/hir_def/src/macro_expansion_tests/mbe/tt_conversion.rs b/crates/hir-def/src/macro_expansion_tests/mbe/tt_conversion.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/mbe/tt_conversion.rs rename to crates/hir-def/src/macro_expansion_tests/mbe/tt_conversion.rs diff --git a/crates/hir_def/src/macro_expansion_tests/proc_macros.rs b/crates/hir-def/src/macro_expansion_tests/proc_macros.rs similarity index 100% rename from crates/hir_def/src/macro_expansion_tests/proc_macros.rs rename to crates/hir-def/src/macro_expansion_tests/proc_macros.rs diff --git a/crates/hir_def/src/nameres.rs b/crates/hir-def/src/nameres.rs similarity index 100% rename from crates/hir_def/src/nameres.rs rename to crates/hir-def/src/nameres.rs diff --git a/crates/hir_def/src/nameres/attr_resolution.rs b/crates/hir-def/src/nameres/attr_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/attr_resolution.rs rename to crates/hir-def/src/nameres/attr_resolution.rs diff --git a/crates/hir_def/src/nameres/collector.rs b/crates/hir-def/src/nameres/collector.rs similarity index 100% rename from crates/hir_def/src/nameres/collector.rs rename to crates/hir-def/src/nameres/collector.rs diff --git a/crates/hir_def/src/nameres/diagnostics.rs b/crates/hir-def/src/nameres/diagnostics.rs similarity index 100% rename from crates/hir_def/src/nameres/diagnostics.rs rename to crates/hir-def/src/nameres/diagnostics.rs diff --git a/crates/hir_def/src/nameres/mod_resolution.rs b/crates/hir-def/src/nameres/mod_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/mod_resolution.rs rename to crates/hir-def/src/nameres/mod_resolution.rs diff --git a/crates/hir_def/src/nameres/path_resolution.rs b/crates/hir-def/src/nameres/path_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/path_resolution.rs rename to crates/hir-def/src/nameres/path_resolution.rs diff --git a/crates/hir_def/src/nameres/proc_macro.rs b/crates/hir-def/src/nameres/proc_macro.rs similarity index 100% rename from crates/hir_def/src/nameres/proc_macro.rs rename to crates/hir-def/src/nameres/proc_macro.rs diff --git a/crates/hir_def/src/nameres/tests.rs b/crates/hir-def/src/nameres/tests.rs similarity index 100% rename from crates/hir_def/src/nameres/tests.rs rename to crates/hir-def/src/nameres/tests.rs diff --git a/crates/hir_def/src/nameres/tests/globs.rs b/crates/hir-def/src/nameres/tests/globs.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/globs.rs rename to crates/hir-def/src/nameres/tests/globs.rs diff --git a/crates/hir_def/src/nameres/tests/incremental.rs b/crates/hir-def/src/nameres/tests/incremental.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/incremental.rs rename to crates/hir-def/src/nameres/tests/incremental.rs diff --git a/crates/hir_def/src/nameres/tests/macros.rs b/crates/hir-def/src/nameres/tests/macros.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/macros.rs rename to crates/hir-def/src/nameres/tests/macros.rs diff --git a/crates/hir_def/src/nameres/tests/mod_resolution.rs b/crates/hir-def/src/nameres/tests/mod_resolution.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/mod_resolution.rs rename to crates/hir-def/src/nameres/tests/mod_resolution.rs diff --git a/crates/hir_def/src/nameres/tests/primitives.rs b/crates/hir-def/src/nameres/tests/primitives.rs similarity index 100% rename from crates/hir_def/src/nameres/tests/primitives.rs rename to crates/hir-def/src/nameres/tests/primitives.rs diff --git a/crates/hir_def/src/path.rs b/crates/hir-def/src/path.rs similarity index 100% rename from crates/hir_def/src/path.rs rename to crates/hir-def/src/path.rs diff --git a/crates/hir_def/src/path/lower.rs b/crates/hir-def/src/path/lower.rs similarity index 100% rename from crates/hir_def/src/path/lower.rs rename to crates/hir-def/src/path/lower.rs diff --git a/crates/hir_def/src/per_ns.rs b/crates/hir-def/src/per_ns.rs similarity index 100% rename from crates/hir_def/src/per_ns.rs rename to crates/hir-def/src/per_ns.rs diff --git a/crates/hir_def/src/resolver.rs b/crates/hir-def/src/resolver.rs similarity index 100% rename from crates/hir_def/src/resolver.rs rename to crates/hir-def/src/resolver.rs diff --git a/crates/hir_def/src/src.rs b/crates/hir-def/src/src.rs similarity index 100% rename from crates/hir_def/src/src.rs rename to crates/hir-def/src/src.rs diff --git a/crates/hir_def/src/test_db.rs b/crates/hir-def/src/test_db.rs similarity index 100% rename from crates/hir_def/src/test_db.rs rename to crates/hir-def/src/test_db.rs diff --git a/crates/hir_def/src/trace.rs b/crates/hir-def/src/trace.rs similarity index 100% rename from crates/hir_def/src/trace.rs rename to crates/hir-def/src/trace.rs diff --git a/crates/hir_def/src/type_ref.rs b/crates/hir-def/src/type_ref.rs similarity index 100% rename from crates/hir_def/src/type_ref.rs rename to crates/hir-def/src/type_ref.rs diff --git a/crates/hir_def/src/visibility.rs b/crates/hir-def/src/visibility.rs similarity index 100% rename from crates/hir_def/src/visibility.rs rename to crates/hir-def/src/visibility.rs diff --git a/crates/hir_expand/Cargo.toml b/crates/hir-expand/Cargo.toml similarity index 91% rename from crates/hir_expand/Cargo.toml rename to crates/hir-expand/Cargo.toml index 9d8772d12939..f4770a6f9fef 100644 --- a/crates/hir_expand/Cargo.toml +++ b/crates/hir-expand/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_expand" +name = "hir-expand" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -20,7 +20,7 @@ hashbrown = { version = "0.12.0", features = [ "inline-more", ], default-features = false } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } diff --git a/crates/hir_expand/src/ast_id_map.rs b/crates/hir-expand/src/ast_id_map.rs similarity index 100% rename from crates/hir_expand/src/ast_id_map.rs rename to crates/hir-expand/src/ast_id_map.rs diff --git a/crates/hir_expand/src/builtin_attr_macro.rs b/crates/hir-expand/src/builtin_attr_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_attr_macro.rs rename to crates/hir-expand/src/builtin_attr_macro.rs diff --git a/crates/hir_expand/src/builtin_derive_macro.rs b/crates/hir-expand/src/builtin_derive_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_derive_macro.rs rename to crates/hir-expand/src/builtin_derive_macro.rs diff --git a/crates/hir_expand/src/builtin_fn_macro.rs b/crates/hir-expand/src/builtin_fn_macro.rs similarity index 100% rename from crates/hir_expand/src/builtin_fn_macro.rs rename to crates/hir-expand/src/builtin_fn_macro.rs diff --git a/crates/hir_expand/src/db.rs b/crates/hir-expand/src/db.rs similarity index 100% rename from crates/hir_expand/src/db.rs rename to crates/hir-expand/src/db.rs diff --git a/crates/hir_expand/src/eager.rs b/crates/hir-expand/src/eager.rs similarity index 100% rename from crates/hir_expand/src/eager.rs rename to crates/hir-expand/src/eager.rs diff --git a/crates/hir_expand/src/fixup.rs b/crates/hir-expand/src/fixup.rs similarity index 100% rename from crates/hir_expand/src/fixup.rs rename to crates/hir-expand/src/fixup.rs diff --git a/crates/hir_expand/src/hygiene.rs b/crates/hir-expand/src/hygiene.rs similarity index 100% rename from crates/hir_expand/src/hygiene.rs rename to crates/hir-expand/src/hygiene.rs diff --git a/crates/hir_expand/src/lib.rs b/crates/hir-expand/src/lib.rs similarity index 100% rename from crates/hir_expand/src/lib.rs rename to crates/hir-expand/src/lib.rs diff --git a/crates/hir_expand/src/mod_path.rs b/crates/hir-expand/src/mod_path.rs similarity index 100% rename from crates/hir_expand/src/mod_path.rs rename to crates/hir-expand/src/mod_path.rs diff --git a/crates/hir_expand/src/name.rs b/crates/hir-expand/src/name.rs similarity index 100% rename from crates/hir_expand/src/name.rs rename to crates/hir-expand/src/name.rs diff --git a/crates/hir_expand/src/proc_macro.rs b/crates/hir-expand/src/proc_macro.rs similarity index 100% rename from crates/hir_expand/src/proc_macro.rs rename to crates/hir-expand/src/proc_macro.rs diff --git a/crates/hir_expand/src/quote.rs b/crates/hir-expand/src/quote.rs similarity index 100% rename from crates/hir_expand/src/quote.rs rename to crates/hir-expand/src/quote.rs diff --git a/crates/hir_ty/Cargo.toml b/crates/hir-ty/Cargo.toml similarity index 81% rename from crates/hir_ty/Cargo.toml rename to crates/hir-ty/Cargo.toml index 1fe57882539e..06cdb1e4e031 100644 --- a/crates/hir_ty/Cargo.toml +++ b/crates/hir-ty/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "hir_ty" +name = "hir-ty" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -26,15 +26,15 @@ once_cell = "1.10.0" typed-arena = "2.0.1" stdx = { path = "../stdx", version = "0.0.0" } -hir_def = { path = "../hir_def", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +hir-def = { path = "../hir-def", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" tracing = "0.1.32" tracing-subscriber = { version = "0.3.9", default-features = false, features = [ diff --git a/crates/hir_ty/src/autoderef.rs b/crates/hir-ty/src/autoderef.rs similarity index 100% rename from crates/hir_ty/src/autoderef.rs rename to crates/hir-ty/src/autoderef.rs diff --git a/crates/hir_ty/src/builder.rs b/crates/hir-ty/src/builder.rs similarity index 100% rename from crates/hir_ty/src/builder.rs rename to crates/hir-ty/src/builder.rs diff --git a/crates/hir_ty/src/chalk_db.rs b/crates/hir-ty/src/chalk_db.rs similarity index 100% rename from crates/hir_ty/src/chalk_db.rs rename to crates/hir-ty/src/chalk_db.rs diff --git a/crates/hir_ty/src/chalk_ext.rs b/crates/hir-ty/src/chalk_ext.rs similarity index 100% rename from crates/hir_ty/src/chalk_ext.rs rename to crates/hir-ty/src/chalk_ext.rs diff --git a/crates/hir_ty/src/consteval.rs b/crates/hir-ty/src/consteval.rs similarity index 100% rename from crates/hir_ty/src/consteval.rs rename to crates/hir-ty/src/consteval.rs diff --git a/crates/hir_ty/src/consteval/tests.rs b/crates/hir-ty/src/consteval/tests.rs similarity index 100% rename from crates/hir_ty/src/consteval/tests.rs rename to crates/hir-ty/src/consteval/tests.rs diff --git a/crates/hir_ty/src/db.rs b/crates/hir-ty/src/db.rs similarity index 100% rename from crates/hir_ty/src/db.rs rename to crates/hir-ty/src/db.rs diff --git a/crates/hir_ty/src/diagnostics.rs b/crates/hir-ty/src/diagnostics.rs similarity index 100% rename from crates/hir_ty/src/diagnostics.rs rename to crates/hir-ty/src/diagnostics.rs diff --git a/crates/hir_ty/src/diagnostics/decl_check.rs b/crates/hir-ty/src/diagnostics/decl_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/decl_check.rs rename to crates/hir-ty/src/diagnostics/decl_check.rs diff --git a/crates/hir_ty/src/diagnostics/decl_check/case_conv.rs b/crates/hir-ty/src/diagnostics/decl_check/case_conv.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/decl_check/case_conv.rs rename to crates/hir-ty/src/diagnostics/decl_check/case_conv.rs diff --git a/crates/hir_ty/src/diagnostics/expr.rs b/crates/hir-ty/src/diagnostics/expr.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/expr.rs rename to crates/hir-ty/src/diagnostics/expr.rs diff --git a/crates/hir_ty/src/diagnostics/match_check.rs b/crates/hir-ty/src/diagnostics/match_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check.rs rename to crates/hir-ty/src/diagnostics/match_check.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs b/crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/deconstruct_pat.rs rename to crates/hir-ty/src/diagnostics/match_check/deconstruct_pat.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/pat_util.rs b/crates/hir-ty/src/diagnostics/match_check/pat_util.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/pat_util.rs rename to crates/hir-ty/src/diagnostics/match_check/pat_util.rs diff --git a/crates/hir_ty/src/diagnostics/match_check/usefulness.rs b/crates/hir-ty/src/diagnostics/match_check/usefulness.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/match_check/usefulness.rs rename to crates/hir-ty/src/diagnostics/match_check/usefulness.rs diff --git a/crates/hir_ty/src/diagnostics/unsafe_check.rs b/crates/hir-ty/src/diagnostics/unsafe_check.rs similarity index 100% rename from crates/hir_ty/src/diagnostics/unsafe_check.rs rename to crates/hir-ty/src/diagnostics/unsafe_check.rs diff --git a/crates/hir_ty/src/display.rs b/crates/hir-ty/src/display.rs similarity index 100% rename from crates/hir_ty/src/display.rs rename to crates/hir-ty/src/display.rs diff --git a/crates/hir_ty/src/infer.rs b/crates/hir-ty/src/infer.rs similarity index 100% rename from crates/hir_ty/src/infer.rs rename to crates/hir-ty/src/infer.rs diff --git a/crates/hir_ty/src/infer/closure.rs b/crates/hir-ty/src/infer/closure.rs similarity index 100% rename from crates/hir_ty/src/infer/closure.rs rename to crates/hir-ty/src/infer/closure.rs diff --git a/crates/hir_ty/src/infer/coerce.rs b/crates/hir-ty/src/infer/coerce.rs similarity index 100% rename from crates/hir_ty/src/infer/coerce.rs rename to crates/hir-ty/src/infer/coerce.rs diff --git a/crates/hir_ty/src/infer/expr.rs b/crates/hir-ty/src/infer/expr.rs similarity index 100% rename from crates/hir_ty/src/infer/expr.rs rename to crates/hir-ty/src/infer/expr.rs diff --git a/crates/hir_ty/src/infer/pat.rs b/crates/hir-ty/src/infer/pat.rs similarity index 100% rename from crates/hir_ty/src/infer/pat.rs rename to crates/hir-ty/src/infer/pat.rs diff --git a/crates/hir_ty/src/infer/path.rs b/crates/hir-ty/src/infer/path.rs similarity index 100% rename from crates/hir_ty/src/infer/path.rs rename to crates/hir-ty/src/infer/path.rs diff --git a/crates/hir_ty/src/infer/unify.rs b/crates/hir-ty/src/infer/unify.rs similarity index 100% rename from crates/hir_ty/src/infer/unify.rs rename to crates/hir-ty/src/infer/unify.rs diff --git a/crates/hir_ty/src/interner.rs b/crates/hir-ty/src/interner.rs similarity index 100% rename from crates/hir_ty/src/interner.rs rename to crates/hir-ty/src/interner.rs diff --git a/crates/hir_ty/src/lib.rs b/crates/hir-ty/src/lib.rs similarity index 100% rename from crates/hir_ty/src/lib.rs rename to crates/hir-ty/src/lib.rs diff --git a/crates/hir_ty/src/lower.rs b/crates/hir-ty/src/lower.rs similarity index 100% rename from crates/hir_ty/src/lower.rs rename to crates/hir-ty/src/lower.rs diff --git a/crates/hir_ty/src/mapping.rs b/crates/hir-ty/src/mapping.rs similarity index 100% rename from crates/hir_ty/src/mapping.rs rename to crates/hir-ty/src/mapping.rs diff --git a/crates/hir_ty/src/method_resolution.rs b/crates/hir-ty/src/method_resolution.rs similarity index 100% rename from crates/hir_ty/src/method_resolution.rs rename to crates/hir-ty/src/method_resolution.rs diff --git a/crates/hir_ty/src/primitive.rs b/crates/hir-ty/src/primitive.rs similarity index 100% rename from crates/hir_ty/src/primitive.rs rename to crates/hir-ty/src/primitive.rs diff --git a/crates/hir_ty/src/test_db.rs b/crates/hir-ty/src/test_db.rs similarity index 100% rename from crates/hir_ty/src/test_db.rs rename to crates/hir-ty/src/test_db.rs diff --git a/crates/hir_ty/src/tests.rs b/crates/hir-ty/src/tests.rs similarity index 100% rename from crates/hir_ty/src/tests.rs rename to crates/hir-ty/src/tests.rs diff --git a/crates/hir_ty/src/tests/coercion.rs b/crates/hir-ty/src/tests/coercion.rs similarity index 100% rename from crates/hir_ty/src/tests/coercion.rs rename to crates/hir-ty/src/tests/coercion.rs diff --git a/crates/hir_ty/src/tests/diagnostics.rs b/crates/hir-ty/src/tests/diagnostics.rs similarity index 100% rename from crates/hir_ty/src/tests/diagnostics.rs rename to crates/hir-ty/src/tests/diagnostics.rs diff --git a/crates/hir_ty/src/tests/display_source_code.rs b/crates/hir-ty/src/tests/display_source_code.rs similarity index 100% rename from crates/hir_ty/src/tests/display_source_code.rs rename to crates/hir-ty/src/tests/display_source_code.rs diff --git a/crates/hir_ty/src/tests/incremental.rs b/crates/hir-ty/src/tests/incremental.rs similarity index 100% rename from crates/hir_ty/src/tests/incremental.rs rename to crates/hir-ty/src/tests/incremental.rs diff --git a/crates/hir_ty/src/tests/macros.rs b/crates/hir-ty/src/tests/macros.rs similarity index 100% rename from crates/hir_ty/src/tests/macros.rs rename to crates/hir-ty/src/tests/macros.rs diff --git a/crates/hir_ty/src/tests/method_resolution.rs b/crates/hir-ty/src/tests/method_resolution.rs similarity index 100% rename from crates/hir_ty/src/tests/method_resolution.rs rename to crates/hir-ty/src/tests/method_resolution.rs diff --git a/crates/hir_ty/src/tests/never_type.rs b/crates/hir-ty/src/tests/never_type.rs similarity index 100% rename from crates/hir_ty/src/tests/never_type.rs rename to crates/hir-ty/src/tests/never_type.rs diff --git a/crates/hir_ty/src/tests/patterns.rs b/crates/hir-ty/src/tests/patterns.rs similarity index 100% rename from crates/hir_ty/src/tests/patterns.rs rename to crates/hir-ty/src/tests/patterns.rs diff --git a/crates/hir_ty/src/tests/regression.rs b/crates/hir-ty/src/tests/regression.rs similarity index 100% rename from crates/hir_ty/src/tests/regression.rs rename to crates/hir-ty/src/tests/regression.rs diff --git a/crates/hir_ty/src/tests/simple.rs b/crates/hir-ty/src/tests/simple.rs similarity index 100% rename from crates/hir_ty/src/tests/simple.rs rename to crates/hir-ty/src/tests/simple.rs diff --git a/crates/hir_ty/src/tests/traits.rs b/crates/hir-ty/src/tests/traits.rs similarity index 100% rename from crates/hir_ty/src/tests/traits.rs rename to crates/hir-ty/src/tests/traits.rs diff --git a/crates/hir_ty/src/tls.rs b/crates/hir-ty/src/tls.rs similarity index 100% rename from crates/hir_ty/src/tls.rs rename to crates/hir-ty/src/tls.rs diff --git a/crates/hir_ty/src/traits.rs b/crates/hir-ty/src/traits.rs similarity index 100% rename from crates/hir_ty/src/traits.rs rename to crates/hir-ty/src/traits.rs diff --git a/crates/hir_ty/src/utils.rs b/crates/hir-ty/src/utils.rs similarity index 100% rename from crates/hir_ty/src/utils.rs rename to crates/hir-ty/src/utils.rs diff --git a/crates/hir_ty/src/walk.rs b/crates/hir-ty/src/walk.rs similarity index 100% rename from crates/hir_ty/src/walk.rs rename to crates/hir-ty/src/walk.rs diff --git a/crates/hir/Cargo.toml b/crates/hir/Cargo.toml index 2b9a52d36fe6..1cffd823f26a 100644 --- a/crates/hir/Cargo.toml +++ b/crates/hir/Cargo.toml @@ -19,10 +19,10 @@ once_cell = "1.10.0" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -hir_expand = { path = "../hir_expand", version = "0.0.0" } -hir_def = { path = "../hir_def", version = "0.0.0" } -hir_ty = { path = "../hir_ty", version = "0.0.0" } +hir-expand = { path = "../hir-expand", version = "0.0.0" } +hir-def = { path = "../hir-def", version = "0.0.0" } +hir-ty = { path = "../hir-ty", version = "0.0.0" } tt = { path = "../tt", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } diff --git a/crates/ide_assists/Cargo.toml b/crates/ide-assists/Cargo.toml similarity index 74% rename from crates/ide_assists/Cargo.toml rename to crates/ide-assists/Cargo.toml index edd0d262909f..d86de2cca4bd 100644 --- a/crates/ide_assists/Cargo.toml +++ b/crates/ide-assists/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_assists" +name = "ide-assists" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -17,12 +17,12 @@ either = "1.6.1" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } expect-test = "1.2.2" diff --git a/crates/ide_assists/src/assist_config.rs b/crates/ide-assists/src/assist_config.rs similarity index 100% rename from crates/ide_assists/src/assist_config.rs rename to crates/ide-assists/src/assist_config.rs diff --git a/crates/ide_assists/src/assist_context.rs b/crates/ide-assists/src/assist_context.rs similarity index 100% rename from crates/ide_assists/src/assist_context.rs rename to crates/ide-assists/src/assist_context.rs diff --git a/crates/ide_assists/src/handlers/add_explicit_type.rs b/crates/ide-assists/src/handlers/add_explicit_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_explicit_type.rs rename to crates/ide-assists/src/handlers/add_explicit_type.rs diff --git a/crates/ide_assists/src/handlers/add_lifetime_to_type.rs b/crates/ide-assists/src/handlers/add_lifetime_to_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_lifetime_to_type.rs rename to crates/ide-assists/src/handlers/add_lifetime_to_type.rs diff --git a/crates/ide_assists/src/handlers/add_missing_impl_members.rs b/crates/ide-assists/src/handlers/add_missing_impl_members.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_missing_impl_members.rs rename to crates/ide-assists/src/handlers/add_missing_impl_members.rs diff --git a/crates/ide_assists/src/handlers/add_missing_match_arms.rs b/crates/ide-assists/src/handlers/add_missing_match_arms.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_missing_match_arms.rs rename to crates/ide-assists/src/handlers/add_missing_match_arms.rs diff --git a/crates/ide_assists/src/handlers/add_return_type.rs b/crates/ide-assists/src/handlers/add_return_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_return_type.rs rename to crates/ide-assists/src/handlers/add_return_type.rs diff --git a/crates/ide_assists/src/handlers/add_turbo_fish.rs b/crates/ide-assists/src/handlers/add_turbo_fish.rs similarity index 100% rename from crates/ide_assists/src/handlers/add_turbo_fish.rs rename to crates/ide-assists/src/handlers/add_turbo_fish.rs diff --git a/crates/ide_assists/src/handlers/apply_demorgan.rs b/crates/ide-assists/src/handlers/apply_demorgan.rs similarity index 100% rename from crates/ide_assists/src/handlers/apply_demorgan.rs rename to crates/ide-assists/src/handlers/apply_demorgan.rs diff --git a/crates/ide_assists/src/handlers/auto_import.rs b/crates/ide-assists/src/handlers/auto_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/auto_import.rs rename to crates/ide-assists/src/handlers/auto_import.rs diff --git a/crates/ide_assists/src/handlers/change_visibility.rs b/crates/ide-assists/src/handlers/change_visibility.rs similarity index 100% rename from crates/ide_assists/src/handlers/change_visibility.rs rename to crates/ide-assists/src/handlers/change_visibility.rs diff --git a/crates/ide_assists/src/handlers/convert_bool_then.rs b/crates/ide-assists/src/handlers/convert_bool_then.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_bool_then.rs rename to crates/ide-assists/src/handlers/convert_bool_then.rs diff --git a/crates/ide_assists/src/handlers/convert_comment_block.rs b/crates/ide-assists/src/handlers/convert_comment_block.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_comment_block.rs rename to crates/ide-assists/src/handlers/convert_comment_block.rs diff --git a/crates/ide_assists/src/handlers/convert_integer_literal.rs b/crates/ide-assists/src/handlers/convert_integer_literal.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_integer_literal.rs rename to crates/ide-assists/src/handlers/convert_integer_literal.rs diff --git a/crates/ide_assists/src/handlers/convert_into_to_from.rs b/crates/ide-assists/src/handlers/convert_into_to_from.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_into_to_from.rs rename to crates/ide-assists/src/handlers/convert_into_to_from.rs diff --git a/crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs b/crates/ide-assists/src/handlers/convert_iter_for_each_to_for.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_iter_for_each_to_for.rs rename to crates/ide-assists/src/handlers/convert_iter_for_each_to_for.rs diff --git a/crates/ide_assists/src/handlers/convert_to_guarded_return.rs b/crates/ide-assists/src/handlers/convert_to_guarded_return.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_to_guarded_return.rs rename to crates/ide-assists/src/handlers/convert_to_guarded_return.rs diff --git a/crates/ide_assists/src/handlers/convert_tuple_struct_to_named_struct.rs b/crates/ide-assists/src/handlers/convert_tuple_struct_to_named_struct.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_tuple_struct_to_named_struct.rs rename to crates/ide-assists/src/handlers/convert_tuple_struct_to_named_struct.rs diff --git a/crates/ide_assists/src/handlers/convert_while_to_loop.rs b/crates/ide-assists/src/handlers/convert_while_to_loop.rs similarity index 100% rename from crates/ide_assists/src/handlers/convert_while_to_loop.rs rename to crates/ide-assists/src/handlers/convert_while_to_loop.rs diff --git a/crates/ide_assists/src/handlers/destructure_tuple_binding.rs b/crates/ide-assists/src/handlers/destructure_tuple_binding.rs similarity index 100% rename from crates/ide_assists/src/handlers/destructure_tuple_binding.rs rename to crates/ide-assists/src/handlers/destructure_tuple_binding.rs diff --git a/crates/ide_assists/src/handlers/expand_glob_import.rs b/crates/ide-assists/src/handlers/expand_glob_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/expand_glob_import.rs rename to crates/ide-assists/src/handlers/expand_glob_import.rs diff --git a/crates/ide_assists/src/handlers/extract_function.rs b/crates/ide-assists/src/handlers/extract_function.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_function.rs rename to crates/ide-assists/src/handlers/extract_function.rs diff --git a/crates/ide_assists/src/handlers/extract_module.rs b/crates/ide-assists/src/handlers/extract_module.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_module.rs rename to crates/ide-assists/src/handlers/extract_module.rs diff --git a/crates/ide_assists/src/handlers/extract_struct_from_enum_variant.rs b/crates/ide-assists/src/handlers/extract_struct_from_enum_variant.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_struct_from_enum_variant.rs rename to crates/ide-assists/src/handlers/extract_struct_from_enum_variant.rs diff --git a/crates/ide_assists/src/handlers/extract_type_alias.rs b/crates/ide-assists/src/handlers/extract_type_alias.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_type_alias.rs rename to crates/ide-assists/src/handlers/extract_type_alias.rs diff --git a/crates/ide_assists/src/handlers/extract_variable.rs b/crates/ide-assists/src/handlers/extract_variable.rs similarity index 100% rename from crates/ide_assists/src/handlers/extract_variable.rs rename to crates/ide-assists/src/handlers/extract_variable.rs diff --git a/crates/ide_assists/src/handlers/fix_visibility.rs b/crates/ide-assists/src/handlers/fix_visibility.rs similarity index 100% rename from crates/ide_assists/src/handlers/fix_visibility.rs rename to crates/ide-assists/src/handlers/fix_visibility.rs diff --git a/crates/ide_assists/src/handlers/flip_binexpr.rs b/crates/ide-assists/src/handlers/flip_binexpr.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_binexpr.rs rename to crates/ide-assists/src/handlers/flip_binexpr.rs diff --git a/crates/ide_assists/src/handlers/flip_comma.rs b/crates/ide-assists/src/handlers/flip_comma.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_comma.rs rename to crates/ide-assists/src/handlers/flip_comma.rs diff --git a/crates/ide_assists/src/handlers/flip_trait_bound.rs b/crates/ide-assists/src/handlers/flip_trait_bound.rs similarity index 100% rename from crates/ide_assists/src/handlers/flip_trait_bound.rs rename to crates/ide-assists/src/handlers/flip_trait_bound.rs diff --git a/crates/ide_assists/src/handlers/generate_constant.rs b/crates/ide-assists/src/handlers/generate_constant.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_constant.rs rename to crates/ide-assists/src/handlers/generate_constant.rs diff --git a/crates/ide_assists/src/handlers/generate_default_from_enum_variant.rs b/crates/ide-assists/src/handlers/generate_default_from_enum_variant.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_default_from_enum_variant.rs rename to crates/ide-assists/src/handlers/generate_default_from_enum_variant.rs diff --git a/crates/ide_assists/src/handlers/generate_default_from_new.rs b/crates/ide-assists/src/handlers/generate_default_from_new.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_default_from_new.rs rename to crates/ide-assists/src/handlers/generate_default_from_new.rs diff --git a/crates/ide_assists/src/handlers/generate_delegate_methods.rs b/crates/ide-assists/src/handlers/generate_delegate_methods.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_delegate_methods.rs rename to crates/ide-assists/src/handlers/generate_delegate_methods.rs diff --git a/crates/ide_assists/src/handlers/generate_deref.rs b/crates/ide-assists/src/handlers/generate_deref.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_deref.rs rename to crates/ide-assists/src/handlers/generate_deref.rs diff --git a/crates/ide_assists/src/handlers/generate_derive.rs b/crates/ide-assists/src/handlers/generate_derive.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_derive.rs rename to crates/ide-assists/src/handlers/generate_derive.rs diff --git a/crates/ide_assists/src/handlers/generate_documentation_template.rs b/crates/ide-assists/src/handlers/generate_documentation_template.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_documentation_template.rs rename to crates/ide-assists/src/handlers/generate_documentation_template.rs diff --git a/crates/ide_assists/src/handlers/generate_enum_is_method.rs b/crates/ide-assists/src/handlers/generate_enum_is_method.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_enum_is_method.rs rename to crates/ide-assists/src/handlers/generate_enum_is_method.rs diff --git a/crates/ide_assists/src/handlers/generate_enum_projection_method.rs b/crates/ide-assists/src/handlers/generate_enum_projection_method.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_enum_projection_method.rs rename to crates/ide-assists/src/handlers/generate_enum_projection_method.rs diff --git a/crates/ide_assists/src/handlers/generate_from_impl_for_enum.rs b/crates/ide-assists/src/handlers/generate_from_impl_for_enum.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_from_impl_for_enum.rs rename to crates/ide-assists/src/handlers/generate_from_impl_for_enum.rs diff --git a/crates/ide_assists/src/handlers/generate_function.rs b/crates/ide-assists/src/handlers/generate_function.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_function.rs rename to crates/ide-assists/src/handlers/generate_function.rs diff --git a/crates/ide_assists/src/handlers/generate_getter.rs b/crates/ide-assists/src/handlers/generate_getter.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_getter.rs rename to crates/ide-assists/src/handlers/generate_getter.rs diff --git a/crates/ide_assists/src/handlers/generate_impl.rs b/crates/ide-assists/src/handlers/generate_impl.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_impl.rs rename to crates/ide-assists/src/handlers/generate_impl.rs diff --git a/crates/ide_assists/src/handlers/generate_is_empty_from_len.rs b/crates/ide-assists/src/handlers/generate_is_empty_from_len.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_is_empty_from_len.rs rename to crates/ide-assists/src/handlers/generate_is_empty_from_len.rs diff --git a/crates/ide_assists/src/handlers/generate_new.rs b/crates/ide-assists/src/handlers/generate_new.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_new.rs rename to crates/ide-assists/src/handlers/generate_new.rs diff --git a/crates/ide_assists/src/handlers/generate_setter.rs b/crates/ide-assists/src/handlers/generate_setter.rs similarity index 100% rename from crates/ide_assists/src/handlers/generate_setter.rs rename to crates/ide-assists/src/handlers/generate_setter.rs diff --git a/crates/ide_assists/src/handlers/inline_call.rs b/crates/ide-assists/src/handlers/inline_call.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_call.rs rename to crates/ide-assists/src/handlers/inline_call.rs diff --git a/crates/ide_assists/src/handlers/inline_local_variable.rs b/crates/ide-assists/src/handlers/inline_local_variable.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_local_variable.rs rename to crates/ide-assists/src/handlers/inline_local_variable.rs diff --git a/crates/ide_assists/src/handlers/inline_type_alias.rs b/crates/ide-assists/src/handlers/inline_type_alias.rs similarity index 100% rename from crates/ide_assists/src/handlers/inline_type_alias.rs rename to crates/ide-assists/src/handlers/inline_type_alias.rs diff --git a/crates/ide_assists/src/handlers/introduce_named_generic.rs b/crates/ide-assists/src/handlers/introduce_named_generic.rs similarity index 100% rename from crates/ide_assists/src/handlers/introduce_named_generic.rs rename to crates/ide-assists/src/handlers/introduce_named_generic.rs diff --git a/crates/ide_assists/src/handlers/introduce_named_lifetime.rs b/crates/ide-assists/src/handlers/introduce_named_lifetime.rs similarity index 100% rename from crates/ide_assists/src/handlers/introduce_named_lifetime.rs rename to crates/ide-assists/src/handlers/introduce_named_lifetime.rs diff --git a/crates/ide_assists/src/handlers/invert_if.rs b/crates/ide-assists/src/handlers/invert_if.rs similarity index 100% rename from crates/ide_assists/src/handlers/invert_if.rs rename to crates/ide-assists/src/handlers/invert_if.rs diff --git a/crates/ide_assists/src/handlers/merge_imports.rs b/crates/ide-assists/src/handlers/merge_imports.rs similarity index 100% rename from crates/ide_assists/src/handlers/merge_imports.rs rename to crates/ide-assists/src/handlers/merge_imports.rs diff --git a/crates/ide_assists/src/handlers/merge_match_arms.rs b/crates/ide-assists/src/handlers/merge_match_arms.rs similarity index 100% rename from crates/ide_assists/src/handlers/merge_match_arms.rs rename to crates/ide-assists/src/handlers/merge_match_arms.rs diff --git a/crates/ide_assists/src/handlers/move_bounds.rs b/crates/ide-assists/src/handlers/move_bounds.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_bounds.rs rename to crates/ide-assists/src/handlers/move_bounds.rs diff --git a/crates/ide_assists/src/handlers/move_from_mod_rs.rs b/crates/ide-assists/src/handlers/move_from_mod_rs.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_from_mod_rs.rs rename to crates/ide-assists/src/handlers/move_from_mod_rs.rs diff --git a/crates/ide_assists/src/handlers/move_guard.rs b/crates/ide-assists/src/handlers/move_guard.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_guard.rs rename to crates/ide-assists/src/handlers/move_guard.rs diff --git a/crates/ide_assists/src/handlers/move_module_to_file.rs b/crates/ide-assists/src/handlers/move_module_to_file.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_module_to_file.rs rename to crates/ide-assists/src/handlers/move_module_to_file.rs diff --git a/crates/ide_assists/src/handlers/move_to_mod_rs.rs b/crates/ide-assists/src/handlers/move_to_mod_rs.rs similarity index 100% rename from crates/ide_assists/src/handlers/move_to_mod_rs.rs rename to crates/ide-assists/src/handlers/move_to_mod_rs.rs diff --git a/crates/ide_assists/src/handlers/number_representation.rs b/crates/ide-assists/src/handlers/number_representation.rs similarity index 100% rename from crates/ide_assists/src/handlers/number_representation.rs rename to crates/ide-assists/src/handlers/number_representation.rs diff --git a/crates/ide_assists/src/handlers/promote_local_to_const.rs b/crates/ide-assists/src/handlers/promote_local_to_const.rs similarity index 100% rename from crates/ide_assists/src/handlers/promote_local_to_const.rs rename to crates/ide-assists/src/handlers/promote_local_to_const.rs diff --git a/crates/ide_assists/src/handlers/pull_assignment_up.rs b/crates/ide-assists/src/handlers/pull_assignment_up.rs similarity index 100% rename from crates/ide_assists/src/handlers/pull_assignment_up.rs rename to crates/ide-assists/src/handlers/pull_assignment_up.rs diff --git a/crates/ide_assists/src/handlers/qualify_method_call.rs b/crates/ide-assists/src/handlers/qualify_method_call.rs similarity index 100% rename from crates/ide_assists/src/handlers/qualify_method_call.rs rename to crates/ide-assists/src/handlers/qualify_method_call.rs diff --git a/crates/ide_assists/src/handlers/qualify_path.rs b/crates/ide-assists/src/handlers/qualify_path.rs similarity index 100% rename from crates/ide_assists/src/handlers/qualify_path.rs rename to crates/ide-assists/src/handlers/qualify_path.rs diff --git a/crates/ide_assists/src/handlers/raw_string.rs b/crates/ide-assists/src/handlers/raw_string.rs similarity index 100% rename from crates/ide_assists/src/handlers/raw_string.rs rename to crates/ide-assists/src/handlers/raw_string.rs diff --git a/crates/ide_assists/src/handlers/remove_dbg.rs b/crates/ide-assists/src/handlers/remove_dbg.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_dbg.rs rename to crates/ide-assists/src/handlers/remove_dbg.rs diff --git a/crates/ide_assists/src/handlers/remove_mut.rs b/crates/ide-assists/src/handlers/remove_mut.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_mut.rs rename to crates/ide-assists/src/handlers/remove_mut.rs diff --git a/crates/ide_assists/src/handlers/remove_unused_param.rs b/crates/ide-assists/src/handlers/remove_unused_param.rs similarity index 100% rename from crates/ide_assists/src/handlers/remove_unused_param.rs rename to crates/ide-assists/src/handlers/remove_unused_param.rs diff --git a/crates/ide_assists/src/handlers/reorder_fields.rs b/crates/ide-assists/src/handlers/reorder_fields.rs similarity index 100% rename from crates/ide_assists/src/handlers/reorder_fields.rs rename to crates/ide-assists/src/handlers/reorder_fields.rs diff --git a/crates/ide_assists/src/handlers/reorder_impl.rs b/crates/ide-assists/src/handlers/reorder_impl.rs similarity index 100% rename from crates/ide_assists/src/handlers/reorder_impl.rs rename to crates/ide-assists/src/handlers/reorder_impl.rs 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 similarity index 100% rename from crates/ide_assists/src/handlers/replace_derive_with_manual_impl.rs rename to crates/ide-assists/src/handlers/replace_derive_with_manual_impl.rs diff --git a/crates/ide_assists/src/handlers/replace_if_let_with_match.rs b/crates/ide-assists/src/handlers/replace_if_let_with_match.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_if_let_with_match.rs rename to crates/ide-assists/src/handlers/replace_if_let_with_match.rs diff --git a/crates/ide_assists/src/handlers/replace_let_with_if_let.rs b/crates/ide-assists/src/handlers/replace_let_with_if_let.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_let_with_if_let.rs rename to crates/ide-assists/src/handlers/replace_let_with_if_let.rs diff --git a/crates/ide_assists/src/handlers/replace_qualified_name_with_use.rs b/crates/ide-assists/src/handlers/replace_qualified_name_with_use.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_qualified_name_with_use.rs rename to crates/ide-assists/src/handlers/replace_qualified_name_with_use.rs diff --git a/crates/ide_assists/src/handlers/replace_string_with_char.rs b/crates/ide-assists/src/handlers/replace_string_with_char.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_string_with_char.rs rename to crates/ide-assists/src/handlers/replace_string_with_char.rs diff --git a/crates/ide_assists/src/handlers/replace_try_expr_with_match.rs b/crates/ide-assists/src/handlers/replace_try_expr_with_match.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_try_expr_with_match.rs rename to crates/ide-assists/src/handlers/replace_try_expr_with_match.rs diff --git a/crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs b/crates/ide-assists/src/handlers/replace_turbofish_with_explicit_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/replace_turbofish_with_explicit_type.rs rename to crates/ide-assists/src/handlers/replace_turbofish_with_explicit_type.rs diff --git a/crates/ide_assists/src/handlers/sort_items.rs b/crates/ide-assists/src/handlers/sort_items.rs similarity index 100% rename from crates/ide_assists/src/handlers/sort_items.rs rename to crates/ide-assists/src/handlers/sort_items.rs diff --git a/crates/ide_assists/src/handlers/split_import.rs b/crates/ide-assists/src/handlers/split_import.rs similarity index 100% rename from crates/ide_assists/src/handlers/split_import.rs rename to crates/ide-assists/src/handlers/split_import.rs diff --git a/crates/ide_assists/src/handlers/toggle_ignore.rs b/crates/ide-assists/src/handlers/toggle_ignore.rs similarity index 100% rename from crates/ide_assists/src/handlers/toggle_ignore.rs rename to crates/ide-assists/src/handlers/toggle_ignore.rs diff --git a/crates/ide_assists/src/handlers/unmerge_use.rs b/crates/ide-assists/src/handlers/unmerge_use.rs similarity index 100% rename from crates/ide_assists/src/handlers/unmerge_use.rs rename to crates/ide-assists/src/handlers/unmerge_use.rs diff --git a/crates/ide_assists/src/handlers/unnecessary_async.rs b/crates/ide-assists/src/handlers/unnecessary_async.rs similarity index 100% rename from crates/ide_assists/src/handlers/unnecessary_async.rs rename to crates/ide-assists/src/handlers/unnecessary_async.rs diff --git a/crates/ide_assists/src/handlers/unwrap_block.rs b/crates/ide-assists/src/handlers/unwrap_block.rs similarity index 100% rename from crates/ide_assists/src/handlers/unwrap_block.rs rename to crates/ide-assists/src/handlers/unwrap_block.rs diff --git a/crates/ide_assists/src/handlers/unwrap_result_return_type.rs b/crates/ide-assists/src/handlers/unwrap_result_return_type.rs similarity index 100% rename from crates/ide_assists/src/handlers/unwrap_result_return_type.rs rename to crates/ide-assists/src/handlers/unwrap_result_return_type.rs diff --git a/crates/ide_assists/src/handlers/wrap_return_type_in_result.rs b/crates/ide-assists/src/handlers/wrap_return_type_in_result.rs similarity index 100% rename from crates/ide_assists/src/handlers/wrap_return_type_in_result.rs rename to crates/ide-assists/src/handlers/wrap_return_type_in_result.rs diff --git a/crates/ide_assists/src/lib.rs b/crates/ide-assists/src/lib.rs similarity index 100% rename from crates/ide_assists/src/lib.rs rename to crates/ide-assists/src/lib.rs diff --git a/crates/ide_assists/src/tests.rs b/crates/ide-assists/src/tests.rs similarity index 100% rename from crates/ide_assists/src/tests.rs rename to crates/ide-assists/src/tests.rs diff --git a/crates/ide_assists/src/tests/generated.rs b/crates/ide-assists/src/tests/generated.rs similarity index 100% rename from crates/ide_assists/src/tests/generated.rs rename to crates/ide-assists/src/tests/generated.rs diff --git a/crates/ide_assists/src/tests/sourcegen.rs b/crates/ide-assists/src/tests/sourcegen.rs similarity index 100% rename from crates/ide_assists/src/tests/sourcegen.rs rename to crates/ide-assists/src/tests/sourcegen.rs diff --git a/crates/ide_assists/src/utils.rs b/crates/ide-assists/src/utils.rs similarity index 100% rename from crates/ide_assists/src/utils.rs rename to crates/ide-assists/src/utils.rs diff --git a/crates/ide_assists/src/utils/gen_trait_fn_body.rs b/crates/ide-assists/src/utils/gen_trait_fn_body.rs similarity index 100% rename from crates/ide_assists/src/utils/gen_trait_fn_body.rs rename to crates/ide-assists/src/utils/gen_trait_fn_body.rs diff --git a/crates/ide_assists/src/utils/suggest_name.rs b/crates/ide-assists/src/utils/suggest_name.rs similarity index 100% rename from crates/ide_assists/src/utils/suggest_name.rs rename to crates/ide-assists/src/utils/suggest_name.rs diff --git a/crates/ide_completion/Cargo.toml b/crates/ide-completion/Cargo.toml similarity index 66% rename from crates/ide_completion/Cargo.toml rename to crates/ide-completion/Cargo.toml index a82223ca9003..4369e11bd71c 100644 --- a/crates/ide_completion/Cargo.toml +++ b/crates/ide-completion/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_completion" +name = "ide-completion" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -18,16 +18,16 @@ smallvec = "1.8.0" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # completions crate should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } diff --git a/crates/ide_completion/src/completions.rs b/crates/ide-completion/src/completions.rs similarity index 100% rename from crates/ide_completion/src/completions.rs rename to crates/ide-completion/src/completions.rs diff --git a/crates/ide_completion/src/completions/attribute.rs b/crates/ide-completion/src/completions/attribute.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute.rs rename to crates/ide-completion/src/completions/attribute.rs diff --git a/crates/ide_completion/src/completions/attribute/cfg.rs b/crates/ide-completion/src/completions/attribute/cfg.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/cfg.rs rename to crates/ide-completion/src/completions/attribute/cfg.rs diff --git a/crates/ide_completion/src/completions/attribute/derive.rs b/crates/ide-completion/src/completions/attribute/derive.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/derive.rs rename to crates/ide-completion/src/completions/attribute/derive.rs diff --git a/crates/ide_completion/src/completions/attribute/lint.rs b/crates/ide-completion/src/completions/attribute/lint.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/lint.rs rename to crates/ide-completion/src/completions/attribute/lint.rs diff --git a/crates/ide_completion/src/completions/attribute/repr.rs b/crates/ide-completion/src/completions/attribute/repr.rs similarity index 100% rename from crates/ide_completion/src/completions/attribute/repr.rs rename to crates/ide-completion/src/completions/attribute/repr.rs diff --git a/crates/ide_completion/src/completions/dot.rs b/crates/ide-completion/src/completions/dot.rs similarity index 100% rename from crates/ide_completion/src/completions/dot.rs rename to crates/ide-completion/src/completions/dot.rs diff --git a/crates/ide_completion/src/completions/extern_abi.rs b/crates/ide-completion/src/completions/extern_abi.rs similarity index 100% rename from crates/ide_completion/src/completions/extern_abi.rs rename to crates/ide-completion/src/completions/extern_abi.rs diff --git a/crates/ide_completion/src/completions/flyimport.rs b/crates/ide-completion/src/completions/flyimport.rs similarity index 100% rename from crates/ide_completion/src/completions/flyimport.rs rename to crates/ide-completion/src/completions/flyimport.rs diff --git a/crates/ide_completion/src/completions/fn_param.rs b/crates/ide-completion/src/completions/fn_param.rs similarity index 100% rename from crates/ide_completion/src/completions/fn_param.rs rename to crates/ide-completion/src/completions/fn_param.rs diff --git a/crates/ide_completion/src/completions/format_string.rs b/crates/ide-completion/src/completions/format_string.rs similarity index 100% rename from crates/ide_completion/src/completions/format_string.rs rename to crates/ide-completion/src/completions/format_string.rs diff --git a/crates/ide_completion/src/completions/keyword.rs b/crates/ide-completion/src/completions/keyword.rs similarity index 100% rename from crates/ide_completion/src/completions/keyword.rs rename to crates/ide-completion/src/completions/keyword.rs diff --git a/crates/ide_completion/src/completions/lifetime.rs b/crates/ide-completion/src/completions/lifetime.rs similarity index 100% rename from crates/ide_completion/src/completions/lifetime.rs rename to crates/ide-completion/src/completions/lifetime.rs diff --git a/crates/ide_completion/src/completions/mod_.rs b/crates/ide-completion/src/completions/mod_.rs similarity index 100% rename from crates/ide_completion/src/completions/mod_.rs rename to crates/ide-completion/src/completions/mod_.rs diff --git a/crates/ide_completion/src/completions/pattern.rs b/crates/ide-completion/src/completions/pattern.rs similarity index 100% rename from crates/ide_completion/src/completions/pattern.rs rename to crates/ide-completion/src/completions/pattern.rs diff --git a/crates/ide_completion/src/completions/postfix.rs b/crates/ide-completion/src/completions/postfix.rs similarity index 100% rename from crates/ide_completion/src/completions/postfix.rs rename to crates/ide-completion/src/completions/postfix.rs diff --git a/crates/ide_completion/src/completions/postfix/format_like.rs b/crates/ide-completion/src/completions/postfix/format_like.rs similarity index 100% rename from crates/ide_completion/src/completions/postfix/format_like.rs rename to crates/ide-completion/src/completions/postfix/format_like.rs diff --git a/crates/ide_completion/src/completions/qualified_path.rs b/crates/ide-completion/src/completions/qualified_path.rs similarity index 100% rename from crates/ide_completion/src/completions/qualified_path.rs rename to crates/ide-completion/src/completions/qualified_path.rs diff --git a/crates/ide_completion/src/completions/record.rs b/crates/ide-completion/src/completions/record.rs similarity index 100% rename from crates/ide_completion/src/completions/record.rs rename to crates/ide-completion/src/completions/record.rs diff --git a/crates/ide_completion/src/completions/snippet.rs b/crates/ide-completion/src/completions/snippet.rs similarity index 100% rename from crates/ide_completion/src/completions/snippet.rs rename to crates/ide-completion/src/completions/snippet.rs diff --git a/crates/ide_completion/src/completions/trait_impl.rs b/crates/ide-completion/src/completions/trait_impl.rs similarity index 100% rename from crates/ide_completion/src/completions/trait_impl.rs rename to crates/ide-completion/src/completions/trait_impl.rs diff --git a/crates/ide_completion/src/completions/unqualified_path.rs b/crates/ide-completion/src/completions/unqualified_path.rs similarity index 100% rename from crates/ide_completion/src/completions/unqualified_path.rs rename to crates/ide-completion/src/completions/unqualified_path.rs diff --git a/crates/ide_completion/src/completions/use_.rs b/crates/ide-completion/src/completions/use_.rs similarity index 100% rename from crates/ide_completion/src/completions/use_.rs rename to crates/ide-completion/src/completions/use_.rs diff --git a/crates/ide_completion/src/completions/vis.rs b/crates/ide-completion/src/completions/vis.rs similarity index 100% rename from crates/ide_completion/src/completions/vis.rs rename to crates/ide-completion/src/completions/vis.rs diff --git a/crates/ide_completion/src/config.rs b/crates/ide-completion/src/config.rs similarity index 100% rename from crates/ide_completion/src/config.rs rename to crates/ide-completion/src/config.rs diff --git a/crates/ide_completion/src/context.rs b/crates/ide-completion/src/context.rs similarity index 100% rename from crates/ide_completion/src/context.rs rename to crates/ide-completion/src/context.rs diff --git a/crates/ide_completion/src/item.rs b/crates/ide-completion/src/item.rs similarity index 100% rename from crates/ide_completion/src/item.rs rename to crates/ide-completion/src/item.rs diff --git a/crates/ide_completion/src/lib.rs b/crates/ide-completion/src/lib.rs similarity index 100% rename from crates/ide_completion/src/lib.rs rename to crates/ide-completion/src/lib.rs diff --git a/crates/ide_completion/src/patterns.rs b/crates/ide-completion/src/patterns.rs similarity index 100% rename from crates/ide_completion/src/patterns.rs rename to crates/ide-completion/src/patterns.rs diff --git a/crates/ide_completion/src/render.rs b/crates/ide-completion/src/render.rs similarity index 100% rename from crates/ide_completion/src/render.rs rename to crates/ide-completion/src/render.rs diff --git a/crates/ide_completion/src/render/const_.rs b/crates/ide-completion/src/render/const_.rs similarity index 100% rename from crates/ide_completion/src/render/const_.rs rename to crates/ide-completion/src/render/const_.rs diff --git a/crates/ide_completion/src/render/function.rs b/crates/ide-completion/src/render/function.rs similarity index 100% rename from crates/ide_completion/src/render/function.rs rename to crates/ide-completion/src/render/function.rs diff --git a/crates/ide_completion/src/render/literal.rs b/crates/ide-completion/src/render/literal.rs similarity index 100% rename from crates/ide_completion/src/render/literal.rs rename to crates/ide-completion/src/render/literal.rs diff --git a/crates/ide_completion/src/render/macro_.rs b/crates/ide-completion/src/render/macro_.rs similarity index 100% rename from crates/ide_completion/src/render/macro_.rs rename to crates/ide-completion/src/render/macro_.rs diff --git a/crates/ide_completion/src/render/pattern.rs b/crates/ide-completion/src/render/pattern.rs similarity index 100% rename from crates/ide_completion/src/render/pattern.rs rename to crates/ide-completion/src/render/pattern.rs diff --git a/crates/ide_completion/src/render/type_alias.rs b/crates/ide-completion/src/render/type_alias.rs similarity index 100% rename from crates/ide_completion/src/render/type_alias.rs rename to crates/ide-completion/src/render/type_alias.rs diff --git a/crates/ide_completion/src/render/union_literal.rs b/crates/ide-completion/src/render/union_literal.rs similarity index 100% rename from crates/ide_completion/src/render/union_literal.rs rename to crates/ide-completion/src/render/union_literal.rs diff --git a/crates/ide_completion/src/render/variant.rs b/crates/ide-completion/src/render/variant.rs similarity index 100% rename from crates/ide_completion/src/render/variant.rs rename to crates/ide-completion/src/render/variant.rs diff --git a/crates/ide_completion/src/snippet.rs b/crates/ide-completion/src/snippet.rs similarity index 100% rename from crates/ide_completion/src/snippet.rs rename to crates/ide-completion/src/snippet.rs diff --git a/crates/ide_completion/src/tests.rs b/crates/ide-completion/src/tests.rs similarity index 100% rename from crates/ide_completion/src/tests.rs rename to crates/ide-completion/src/tests.rs diff --git a/crates/ide_completion/src/tests/attribute.rs b/crates/ide-completion/src/tests/attribute.rs similarity index 100% rename from crates/ide_completion/src/tests/attribute.rs rename to crates/ide-completion/src/tests/attribute.rs diff --git a/crates/ide_completion/src/tests/expression.rs b/crates/ide-completion/src/tests/expression.rs similarity index 100% rename from crates/ide_completion/src/tests/expression.rs rename to crates/ide-completion/src/tests/expression.rs diff --git a/crates/ide_completion/src/tests/flyimport.rs b/crates/ide-completion/src/tests/flyimport.rs similarity index 100% rename from crates/ide_completion/src/tests/flyimport.rs rename to crates/ide-completion/src/tests/flyimport.rs diff --git a/crates/ide_completion/src/tests/fn_param.rs b/crates/ide-completion/src/tests/fn_param.rs similarity index 100% rename from crates/ide_completion/src/tests/fn_param.rs rename to crates/ide-completion/src/tests/fn_param.rs diff --git a/crates/ide_completion/src/tests/item.rs b/crates/ide-completion/src/tests/item.rs similarity index 100% rename from crates/ide_completion/src/tests/item.rs rename to crates/ide-completion/src/tests/item.rs diff --git a/crates/ide_completion/src/tests/item_list.rs b/crates/ide-completion/src/tests/item_list.rs similarity index 100% rename from crates/ide_completion/src/tests/item_list.rs rename to crates/ide-completion/src/tests/item_list.rs diff --git a/crates/ide_completion/src/tests/pattern.rs b/crates/ide-completion/src/tests/pattern.rs similarity index 100% rename from crates/ide_completion/src/tests/pattern.rs rename to crates/ide-completion/src/tests/pattern.rs diff --git a/crates/ide_completion/src/tests/predicate.rs b/crates/ide-completion/src/tests/predicate.rs similarity index 100% rename from crates/ide_completion/src/tests/predicate.rs rename to crates/ide-completion/src/tests/predicate.rs diff --git a/crates/ide_completion/src/tests/proc_macros.rs b/crates/ide-completion/src/tests/proc_macros.rs similarity index 100% rename from crates/ide_completion/src/tests/proc_macros.rs rename to crates/ide-completion/src/tests/proc_macros.rs diff --git a/crates/ide_completion/src/tests/record.rs b/crates/ide-completion/src/tests/record.rs similarity index 100% rename from crates/ide_completion/src/tests/record.rs rename to crates/ide-completion/src/tests/record.rs diff --git a/crates/ide_completion/src/tests/type_pos.rs b/crates/ide-completion/src/tests/type_pos.rs similarity index 100% rename from crates/ide_completion/src/tests/type_pos.rs rename to crates/ide-completion/src/tests/type_pos.rs diff --git a/crates/ide_completion/src/tests/use_tree.rs b/crates/ide-completion/src/tests/use_tree.rs similarity index 100% rename from crates/ide_completion/src/tests/use_tree.rs rename to crates/ide-completion/src/tests/use_tree.rs diff --git a/crates/ide_completion/src/tests/visibility.rs b/crates/ide-completion/src/tests/visibility.rs similarity index 100% rename from crates/ide_completion/src/tests/visibility.rs rename to crates/ide-completion/src/tests/visibility.rs diff --git a/crates/ide_db/Cargo.toml b/crates/ide-db/Cargo.toml similarity index 78% rename from crates/ide_db/Cargo.toml rename to crates/ide-db/Cargo.toml index 8c4fe95de186..c5f0cb3c014c 100644 --- a/crates/ide_db/Cargo.toml +++ b/crates/ide-db/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_db" +name = "ide-db" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -24,16 +24,16 @@ indexmap = "1.8.0" stdx = { path = "../stdx", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -base_db = { path = "../base_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +base-db = { path = "../base-db", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # ide should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } limit = { path = "../limit", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } xshell = "0.2.1" expect-test = "1.2.2" diff --git a/crates/ide_db/src/active_parameter.rs b/crates/ide-db/src/active_parameter.rs similarity index 100% rename from crates/ide_db/src/active_parameter.rs rename to crates/ide-db/src/active_parameter.rs diff --git a/crates/ide_db/src/apply_change.rs b/crates/ide-db/src/apply_change.rs similarity index 100% rename from crates/ide_db/src/apply_change.rs rename to crates/ide-db/src/apply_change.rs diff --git a/crates/ide_db/src/assists.rs b/crates/ide-db/src/assists.rs similarity index 100% rename from crates/ide_db/src/assists.rs rename to crates/ide-db/src/assists.rs diff --git a/crates/ide_db/src/defs.rs b/crates/ide-db/src/defs.rs similarity index 100% rename from crates/ide_db/src/defs.rs rename to crates/ide-db/src/defs.rs diff --git a/crates/ide_db/src/famous_defs.rs b/crates/ide-db/src/famous_defs.rs similarity index 100% rename from crates/ide_db/src/famous_defs.rs rename to crates/ide-db/src/famous_defs.rs diff --git a/crates/ide_db/src/generated/lints.rs b/crates/ide-db/src/generated/lints.rs similarity index 100% rename from crates/ide_db/src/generated/lints.rs rename to crates/ide-db/src/generated/lints.rs diff --git a/crates/ide_db/src/helpers.rs b/crates/ide-db/src/helpers.rs similarity index 100% rename from crates/ide_db/src/helpers.rs rename to crates/ide-db/src/helpers.rs diff --git a/crates/ide_db/src/imports/import_assets.rs b/crates/ide-db/src/imports/import_assets.rs similarity index 100% rename from crates/ide_db/src/imports/import_assets.rs rename to crates/ide-db/src/imports/import_assets.rs diff --git a/crates/ide_db/src/imports/insert_use.rs b/crates/ide-db/src/imports/insert_use.rs similarity index 100% rename from crates/ide_db/src/imports/insert_use.rs rename to crates/ide-db/src/imports/insert_use.rs diff --git a/crates/ide_db/src/imports/insert_use/tests.rs b/crates/ide-db/src/imports/insert_use/tests.rs similarity index 100% rename from crates/ide_db/src/imports/insert_use/tests.rs rename to crates/ide-db/src/imports/insert_use/tests.rs diff --git a/crates/ide_db/src/imports/merge_imports.rs b/crates/ide-db/src/imports/merge_imports.rs similarity index 100% rename from crates/ide_db/src/imports/merge_imports.rs rename to crates/ide-db/src/imports/merge_imports.rs diff --git a/crates/ide_db/src/items_locator.rs b/crates/ide-db/src/items_locator.rs similarity index 100% rename from crates/ide_db/src/items_locator.rs rename to crates/ide-db/src/items_locator.rs diff --git a/crates/ide_db/src/label.rs b/crates/ide-db/src/label.rs similarity index 100% rename from crates/ide_db/src/label.rs rename to crates/ide-db/src/label.rs diff --git a/crates/ide_db/src/lib.rs b/crates/ide-db/src/lib.rs similarity index 100% rename from crates/ide_db/src/lib.rs rename to crates/ide-db/src/lib.rs diff --git a/crates/ide_db/src/line_index.rs b/crates/ide-db/src/line_index.rs similarity index 100% rename from crates/ide_db/src/line_index.rs rename to crates/ide-db/src/line_index.rs diff --git a/crates/ide_db/src/path_transform.rs b/crates/ide-db/src/path_transform.rs similarity index 100% rename from crates/ide_db/src/path_transform.rs rename to crates/ide-db/src/path_transform.rs diff --git a/crates/ide_db/src/rename.rs b/crates/ide-db/src/rename.rs similarity index 100% rename from crates/ide_db/src/rename.rs rename to crates/ide-db/src/rename.rs diff --git a/crates/ide_db/src/rust_doc.rs b/crates/ide-db/src/rust_doc.rs similarity index 100% rename from crates/ide_db/src/rust_doc.rs rename to crates/ide-db/src/rust_doc.rs diff --git a/crates/ide_db/src/search.rs b/crates/ide-db/src/search.rs similarity index 100% rename from crates/ide_db/src/search.rs rename to crates/ide-db/src/search.rs diff --git a/crates/ide_db/src/source_change.rs b/crates/ide-db/src/source_change.rs similarity index 100% rename from crates/ide_db/src/source_change.rs rename to crates/ide-db/src/source_change.rs diff --git a/crates/ide_db/src/symbol_index.rs b/crates/ide-db/src/symbol_index.rs similarity index 100% rename from crates/ide_db/src/symbol_index.rs rename to crates/ide-db/src/symbol_index.rs diff --git a/crates/ide_db/src/syntax_helpers/format_string.rs b/crates/ide-db/src/syntax_helpers/format_string.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/format_string.rs rename to crates/ide-db/src/syntax_helpers/format_string.rs diff --git a/crates/ide_db/src/syntax_helpers/insert_whitespace_into_node.rs b/crates/ide-db/src/syntax_helpers/insert_whitespace_into_node.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/insert_whitespace_into_node.rs rename to crates/ide-db/src/syntax_helpers/insert_whitespace_into_node.rs diff --git a/crates/ide_db/src/syntax_helpers/node_ext.rs b/crates/ide-db/src/syntax_helpers/node_ext.rs similarity index 100% rename from crates/ide_db/src/syntax_helpers/node_ext.rs rename to crates/ide-db/src/syntax_helpers/node_ext.rs diff --git a/crates/ide_db/src/test_data/test_symbol_index_collection.txt b/crates/ide-db/src/test_data/test_symbol_index_collection.txt similarity index 100% rename from crates/ide_db/src/test_data/test_symbol_index_collection.txt rename to crates/ide-db/src/test_data/test_symbol_index_collection.txt diff --git a/crates/ide_db/src/tests/sourcegen_lints.rs b/crates/ide-db/src/tests/sourcegen_lints.rs similarity index 100% rename from crates/ide_db/src/tests/sourcegen_lints.rs rename to crates/ide-db/src/tests/sourcegen_lints.rs diff --git a/crates/ide_db/src/traits.rs b/crates/ide-db/src/traits.rs similarity index 100% rename from crates/ide_db/src/traits.rs rename to crates/ide-db/src/traits.rs diff --git a/crates/ide_db/src/ty_filter.rs b/crates/ide-db/src/ty_filter.rs similarity index 100% rename from crates/ide_db/src/ty_filter.rs rename to crates/ide-db/src/ty_filter.rs diff --git a/crates/ide_diagnostics/Cargo.toml b/crates/ide-diagnostics/Cargo.toml similarity index 75% rename from crates/ide_diagnostics/Cargo.toml rename to crates/ide-diagnostics/Cargo.toml index 20bd4a2ed243..f59da69dfb1d 100644 --- a/crates/ide_diagnostics/Cargo.toml +++ b/crates/ide-diagnostics/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_diagnostics" +name = "ide-diagnostics" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -19,13 +19,13 @@ either = "1.6.1" profile = { path = "../profile", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } sourcegen = { path = "../sourcegen" } diff --git a/crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs b/crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/break_outside_of_loop.rs rename to crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs diff --git a/crates/ide_diagnostics/src/handlers/field_shorthand.rs b/crates/ide-diagnostics/src/handlers/field_shorthand.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/field_shorthand.rs rename to crates/ide-diagnostics/src/handlers/field_shorthand.rs diff --git a/crates/ide_diagnostics/src/handlers/inactive_code.rs b/crates/ide-diagnostics/src/handlers/inactive_code.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/inactive_code.rs rename to crates/ide-diagnostics/src/handlers/inactive_code.rs diff --git a/crates/ide_diagnostics/src/handlers/incorrect_case.rs b/crates/ide-diagnostics/src/handlers/incorrect_case.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/incorrect_case.rs rename to crates/ide-diagnostics/src/handlers/incorrect_case.rs diff --git a/crates/ide_diagnostics/src/handlers/invalid_derive_target.rs b/crates/ide-diagnostics/src/handlers/invalid_derive_target.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/invalid_derive_target.rs rename to crates/ide-diagnostics/src/handlers/invalid_derive_target.rs diff --git a/crates/ide_diagnostics/src/handlers/macro_error.rs b/crates/ide-diagnostics/src/handlers/macro_error.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/macro_error.rs rename to crates/ide-diagnostics/src/handlers/macro_error.rs diff --git a/crates/ide_diagnostics/src/handlers/malformed_derive.rs b/crates/ide-diagnostics/src/handlers/malformed_derive.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/malformed_derive.rs rename to crates/ide-diagnostics/src/handlers/malformed_derive.rs diff --git a/crates/ide_diagnostics/src/handlers/mismatched_arg_count.rs b/crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/mismatched_arg_count.rs rename to crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_fields.rs b/crates/ide-diagnostics/src/handlers/missing_fields.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_fields.rs rename to crates/ide-diagnostics/src/handlers/missing_fields.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_match_arms.rs b/crates/ide-diagnostics/src/handlers/missing_match_arms.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_match_arms.rs rename to crates/ide-diagnostics/src/handlers/missing_match_arms.rs diff --git a/crates/ide_diagnostics/src/handlers/missing_unsafe.rs b/crates/ide-diagnostics/src/handlers/missing_unsafe.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/missing_unsafe.rs rename to crates/ide-diagnostics/src/handlers/missing_unsafe.rs diff --git a/crates/ide_diagnostics/src/handlers/no_such_field.rs b/crates/ide-diagnostics/src/handlers/no_such_field.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/no_such_field.rs rename to crates/ide-diagnostics/src/handlers/no_such_field.rs diff --git a/crates/ide_diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs b/crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs rename to crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs diff --git a/crates/ide_diagnostics/src/handlers/type_mismatch.rs b/crates/ide-diagnostics/src/handlers/type_mismatch.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/type_mismatch.rs rename to crates/ide-diagnostics/src/handlers/type_mismatch.rs diff --git a/crates/ide_diagnostics/src/handlers/unimplemented_builtin_macro.rs b/crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unimplemented_builtin_macro.rs rename to crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs diff --git a/crates/ide_diagnostics/src/handlers/unlinked_file.rs b/crates/ide-diagnostics/src/handlers/unlinked_file.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unlinked_file.rs rename to crates/ide-diagnostics/src/handlers/unlinked_file.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_extern_crate.rs b/crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_extern_crate.rs rename to crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_import.rs b/crates/ide-diagnostics/src/handlers/unresolved_import.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_import.rs rename to crates/ide-diagnostics/src/handlers/unresolved_import.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs b/crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_macro_call.rs rename to crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_module.rs b/crates/ide-diagnostics/src/handlers/unresolved_module.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_module.rs rename to crates/ide-diagnostics/src/handlers/unresolved_module.rs diff --git a/crates/ide_diagnostics/src/handlers/unresolved_proc_macro.rs b/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/unresolved_proc_macro.rs rename to crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs diff --git a/crates/ide_diagnostics/src/handlers/useless_braces.rs b/crates/ide-diagnostics/src/handlers/useless_braces.rs similarity index 100% rename from crates/ide_diagnostics/src/handlers/useless_braces.rs rename to crates/ide-diagnostics/src/handlers/useless_braces.rs diff --git a/crates/ide_diagnostics/src/lib.rs b/crates/ide-diagnostics/src/lib.rs similarity index 100% rename from crates/ide_diagnostics/src/lib.rs rename to crates/ide-diagnostics/src/lib.rs diff --git a/crates/ide_diagnostics/src/tests.rs b/crates/ide-diagnostics/src/tests.rs similarity index 100% rename from crates/ide_diagnostics/src/tests.rs rename to crates/ide-diagnostics/src/tests.rs diff --git a/crates/ide_diagnostics/src/tests/sourcegen.rs b/crates/ide-diagnostics/src/tests/sourcegen.rs similarity index 100% rename from crates/ide_diagnostics/src/tests/sourcegen.rs rename to crates/ide-diagnostics/src/tests/sourcegen.rs diff --git a/crates/ide_ssr/Cargo.toml b/crates/ide-ssr/Cargo.toml similarity index 74% rename from crates/ide_ssr/Cargo.toml rename to crates/ide-ssr/Cargo.toml index a736b900ecb8..a6ffa51b4e06 100644 --- a/crates/ide_ssr/Cargo.toml +++ b/crates/ide-ssr/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "ide_ssr" +name = "ide-ssr" version = "0.0.0" description = "Structural search and replace of Rust code" license = "MIT OR Apache-2.0" @@ -15,12 +15,12 @@ cov-mark = "2.0.0-pre.1" itertools = "0.10.3" -text_edit = { path = "../text_edit", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } parser = { path = "../parser", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } hir = { path = "../hir", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/ide_ssr/src/errors.rs b/crates/ide-ssr/src/errors.rs similarity index 100% rename from crates/ide_ssr/src/errors.rs rename to crates/ide-ssr/src/errors.rs diff --git a/crates/ide_ssr/src/fragments.rs b/crates/ide-ssr/src/fragments.rs similarity index 100% rename from crates/ide_ssr/src/fragments.rs rename to crates/ide-ssr/src/fragments.rs diff --git a/crates/ide_ssr/src/from_comment.rs b/crates/ide-ssr/src/from_comment.rs similarity index 100% rename from crates/ide_ssr/src/from_comment.rs rename to crates/ide-ssr/src/from_comment.rs diff --git a/crates/ide_ssr/src/lib.rs b/crates/ide-ssr/src/lib.rs similarity index 100% rename from crates/ide_ssr/src/lib.rs rename to crates/ide-ssr/src/lib.rs diff --git a/crates/ide_ssr/src/matching.rs b/crates/ide-ssr/src/matching.rs similarity index 100% rename from crates/ide_ssr/src/matching.rs rename to crates/ide-ssr/src/matching.rs diff --git a/crates/ide_ssr/src/nester.rs b/crates/ide-ssr/src/nester.rs similarity index 100% rename from crates/ide_ssr/src/nester.rs rename to crates/ide-ssr/src/nester.rs diff --git a/crates/ide_ssr/src/parsing.rs b/crates/ide-ssr/src/parsing.rs similarity index 100% rename from crates/ide_ssr/src/parsing.rs rename to crates/ide-ssr/src/parsing.rs diff --git a/crates/ide_ssr/src/replacing.rs b/crates/ide-ssr/src/replacing.rs similarity index 100% rename from crates/ide_ssr/src/replacing.rs rename to crates/ide-ssr/src/replacing.rs diff --git a/crates/ide_ssr/src/resolving.rs b/crates/ide-ssr/src/resolving.rs similarity index 100% rename from crates/ide_ssr/src/resolving.rs rename to crates/ide-ssr/src/resolving.rs diff --git a/crates/ide_ssr/src/search.rs b/crates/ide-ssr/src/search.rs similarity index 100% rename from crates/ide_ssr/src/search.rs rename to crates/ide-ssr/src/search.rs diff --git a/crates/ide_ssr/src/tests.rs b/crates/ide-ssr/src/tests.rs similarity index 100% rename from crates/ide_ssr/src/tests.rs rename to crates/ide-ssr/src/tests.rs diff --git a/crates/ide/Cargo.toml b/crates/ide/Cargo.toml index f8bb1e4c0155..23cd0f644338 100644 --- a/crates/ide/Cargo.toml +++ b/crates/ide/Cargo.toml @@ -23,22 +23,22 @@ dot = "0.1.4" stdx = { path = "../stdx", version = "0.0.0" } syntax = { path = "../syntax", version = "0.0.0" } -text_edit = { path = "../text_edit", version = "0.0.0" } -ide_db = { path = "../ide_db", version = "0.0.0" } +text-edit = { path = "../text-edit", version = "0.0.0" } +ide-db = { path = "../ide-db", version = "0.0.0" } cfg = { path = "../cfg", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } -ide_assists = { path = "../ide_assists", version = "0.0.0" } -ide_diagnostics = { path = "../ide_diagnostics", version = "0.0.0" } -ide_ssr = { path = "../ide_ssr", version = "0.0.0" } -ide_completion = { path = "../ide_completion", version = "0.0.0" } +ide-assists = { path = "../ide-assists", version = "0.0.0" } +ide-diagnostics = { path = "../ide-diagnostics", version = "0.0.0" } +ide-ssr = { path = "../ide-ssr", version = "0.0.0" } +ide-completion = { path = "../ide-completion", version = "0.0.0" } # ide should depend only on the top-level `hir` package. if you need -# something from some `hir_xxx` subpackage, reexport the API via `hir`. +# something from some `hir-xxx` subpackage, reexport the API via `hir`. hir = { path = "../hir", version = "0.0.0" } [target.'cfg(not(any(target_arch = "wasm32", target_os = "emscripten")))'.dependencies] toolchain = { path = "../toolchain", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } expect-test = "1.2.2" diff --git a/crates/mbe/Cargo.toml b/crates/mbe/Cargo.toml index 1453ec4c690a..d6d15dd19d82 100644 --- a/crates/mbe/Cargo.toml +++ b/crates/mbe/Cargo.toml @@ -21,4 +21,4 @@ tt = { path = "../tt", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } [dev-dependencies] -test_utils = { path = "../test_utils" } +test-utils = { path = "../test-utils" } diff --git a/crates/proc_macro_api/Cargo.toml b/crates/proc-macro-api/Cargo.toml similarity index 90% rename from crates/proc_macro_api/Cargo.toml rename to crates/proc-macro-api/Cargo.toml index 000c23dab613..df2cbcaf307d 100644 --- a/crates/proc_macro_api/Cargo.toml +++ b/crates/proc-macro-api/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "proc_macro_api" +name = "proc-macro-api" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -28,4 +28,4 @@ tt = { path = "../tt", version = "0.0.0" } stdx = { path = "../stdx", version = "0.0.0" } profile = { path = "../profile", version = "0.0.0" } # Intentionally *not* depend on anything salsa-related -# base_db = { path = "../base_db", version = "0.0.0" } +# base-db = { path = "../base-db", version = "0.0.0" } diff --git a/crates/proc_macro_api/src/lib.rs b/crates/proc-macro-api/src/lib.rs similarity index 100% rename from crates/proc_macro_api/src/lib.rs rename to crates/proc-macro-api/src/lib.rs diff --git a/crates/proc_macro_api/src/msg.rs b/crates/proc-macro-api/src/msg.rs similarity index 100% rename from crates/proc_macro_api/src/msg.rs rename to crates/proc-macro-api/src/msg.rs diff --git a/crates/proc_macro_api/src/msg/flat.rs b/crates/proc-macro-api/src/msg/flat.rs similarity index 100% rename from crates/proc_macro_api/src/msg/flat.rs rename to crates/proc-macro-api/src/msg/flat.rs diff --git a/crates/proc_macro_api/src/process.rs b/crates/proc-macro-api/src/process.rs similarity index 100% rename from crates/proc_macro_api/src/process.rs rename to crates/proc-macro-api/src/process.rs diff --git a/crates/proc_macro_api/src/version.rs b/crates/proc-macro-api/src/version.rs similarity index 100% rename from crates/proc_macro_api/src/version.rs rename to crates/proc-macro-api/src/version.rs diff --git a/crates/proc_macro_srv/Cargo.toml b/crates/proc-macro-srv/Cargo.toml similarity index 79% rename from crates/proc_macro_srv/Cargo.toml rename to crates/proc-macro-srv/Cargo.toml index 381d241b86a7..01bc8878bb1d 100644 --- a/crates/proc_macro_srv/Cargo.toml +++ b/crates/proc-macro-srv/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "proc_macro_srv" +name = "proc-macro-srv" version = "0.0.0" description = "TBD" license = "MIT OR Apache-2.0" @@ -23,10 +23,10 @@ memmap2 = "0.5.3" tt = { path = "../tt", version = "0.0.0" } mbe = { path = "../mbe", version = "0.0.0" } paths = { path = "../paths", version = "0.0.0" } -proc_macro_api = { path = "../proc_macro_api", version = "0.0.0" } +proc-macro-api = { path = "../proc-macro-api", version = "0.0.0" } [dev-dependencies] expect-test = "1.2.2" # used as proc macro test targets -proc_macro_test = { path = "../proc_macro_test" } +proc-macro-test = { path = "../proc-macro-test" } diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_48/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_48/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_48/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_48/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_54/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_54/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_54/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_54/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_56/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_56/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_56/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_56/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_57/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_57/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_57/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_57/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/buffer.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/client.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/client.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/client.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/client.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/closure.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/handle.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/rpc.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/scoped_cell.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/server.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/bridge/server.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/bridge/server.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/diagnostic.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/diagnostic.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/diagnostic.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/diagnostic.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/mod.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/mod.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/mod.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/quote.rs b/crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/quote.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/proc_macro/quote.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/proc_macro/quote.rs diff --git a/crates/proc_macro_srv/src/abis/abi_1_58/rustc_server.rs b/crates/proc-macro-srv/src/abis/abi_1_58/rustc_server.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/abi_1_58/rustc_server.rs rename to crates/proc-macro-srv/src/abis/abi_1_58/rustc_server.rs diff --git a/crates/proc_macro_srv/src/abis/mod.rs b/crates/proc-macro-srv/src/abis/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/abis/mod.rs rename to crates/proc-macro-srv/src/abis/mod.rs diff --git a/crates/proc_macro_srv/src/cli.rs b/crates/proc-macro-srv/src/cli.rs similarity index 100% rename from crates/proc_macro_srv/src/cli.rs rename to crates/proc-macro-srv/src/cli.rs diff --git a/crates/proc_macro_srv/src/dylib.rs b/crates/proc-macro-srv/src/dylib.rs similarity index 100% rename from crates/proc_macro_srv/src/dylib.rs rename to crates/proc-macro-srv/src/dylib.rs diff --git a/crates/proc_macro_srv/src/lib.rs b/crates/proc-macro-srv/src/lib.rs similarity index 100% rename from crates/proc_macro_srv/src/lib.rs rename to crates/proc-macro-srv/src/lib.rs diff --git a/crates/proc_macro_srv/src/tests/mod.rs b/crates/proc-macro-srv/src/tests/mod.rs similarity index 100% rename from crates/proc_macro_srv/src/tests/mod.rs rename to crates/proc-macro-srv/src/tests/mod.rs diff --git a/crates/proc_macro_srv/src/tests/utils.rs b/crates/proc-macro-srv/src/tests/utils.rs similarity index 100% rename from crates/proc_macro_srv/src/tests/utils.rs rename to crates/proc-macro-srv/src/tests/utils.rs diff --git a/crates/proc-macro-test/.build.rs.swp b/crates/proc-macro-test/.build.rs.swp new file mode 100644 index 0000000000000000000000000000000000000000..e9252a02f526706f8ce009973225ed9e784ea1a6 GIT binary patch literal 12288 zcmeHN%Z}Vc6s-XvAR&Orie1G>gIj95hkzh*6i`Salqex6uT6y9HSX%^%GfTesyv;} zFu;Nj03?0@!4B~O2-dJ*1!953hV0nz3*lVb{g@#US+D_>qtmwQaeeQ(=T>Qy+T6Ht z{t`bCA7{9pW$eh;+neIvr;q)ywZ^K98vpq!W>Kb#s&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g(B-q?FUpX`N>i6h)FW)Ic4LhcsiEam>Q>m9@9+ny-a4xT{8t3^ro? z3tB}{7nLiu-#4OsSar4y+ Date: Sat, 30 Apr 2022 20:14:26 +0000 Subject: [PATCH 2/6] delete a generated swap file --- crates/proc-macro-test/.build.rs.swp | Bin 12288 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 crates/proc-macro-test/.build.rs.swp diff --git a/crates/proc-macro-test/.build.rs.swp b/crates/proc-macro-test/.build.rs.swp deleted file mode 100644 index e9252a02f526706f8ce009973225ed9e784ea1a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeHN%Z}Vc6s-XvAR&Orie1G>gIj95hkzh*6i`Salqex6uT6y9HSX%^%GfTesyv;} zFu;Nj03?0@!4B~O2-dJ*1!953hV0nz3*lVb{g@#US+D_>qtmwQaeeQ(=T>Qy+T6Ht z{t`bCA7{9pW$eh;+neIvr;q)ywZ^K98vpq!W>Kb#s&>-Exz0rXfGO`++2E|s>Oz*z z4oq!bBubIb?npDpjBwHpDxDT{y3H_q7A} z?$zHs1D*lTfM>un;2H1?cm_NJo&nE*XTUSy8Tbz}AV!Scc$~2dPr!Nn|Ns2&|1X|l z>@(mK;1X~VI1Ri4JP$kyFyP+PjNJu(2YvxQ2X=uwz*XP`a2WXY2xH#?3OEG(_7r0u z0vCV?I0~!*e;#J+2jF|)OJE4R0UQFpJ;d01z-z$WCmH(@_y+h2_z1WIIKTpZ;Ah12 z6Yw!`5ug~)1OD<1cm_NJo&nE*XW-vrV2^QJW1A#Xqnr#?Io4?<+@#NiacV3w*Sy9~ zr`DOU7uV&~h$`$YpH4P5a_RVDHb2F6?b4Al@hz>&FrXuXX>&v{r6YnVoj7z#m$AF; zg5F8CFtP8eFthJHmbWXJxiBa-AI);L$;aC81IG^|Ra7}T>T*Pu5gs25__c|$e5`WG zaYvUleCUMPl8u)`F3J)0h}=jqn$1UCzJ4t|d;ZEWZXImdB8$r>dQ17K*Lm3M(}%8? z+ohhCypYz4Ey<{Ve(j${t$%NMa4YrfqXYC@)rAb-LB8Is$4N3ax(L_jV`2)o6maC` z#=E_a3No^Ksqw;QT#0NOE~g5IH)UmF3xb?Yr^-#jb!zGHUA8)T{!F>2emI1L6v7<~ zgWWy8yBG91Ind`j(paSXK2EGU&?Y3_R^=$pbm@dDZMfcur#)X9bUIY!78H2En@cU@ zNpc3~S`oTA-6=SnGt#3xEkl5#*<_xmg|NE;q^vH7&^2EeuY|FZYC(!3gvfD%7DSEk z6bqZ$TxD|U8WB^}Zb5NVOJM13UCK`M!dhuS*us=>wT*3^We5kBS_Ko+3lCSC+F4Q=5dMb44mvDzZNAW+mDTHv}~wcRu{ z^=gsuK24s=7cp{#8pR5-z0Z?#w=0mZ@C}H~s8JiiLFXwtv7^-pF~aCFN@N7iD+q!D zN0xEkdEpGP3MJkQnxoB7br4nbd%vZp>5V$+L~T7#+byfh;N2zVaaJ4p2(6M~fJLiI z2Wh5FD}(|m7g(B-q?FUpX`N>i6h)FW)Ic4LhcsiEam>Q>m9@9+ny-a4xT{8t3^ro? z3tB}{7nLiu-#4OsSar4y+ Date: Sat, 30 Apr 2022 21:00:41 +0000 Subject: [PATCH 3/6] updated ide-assist new dir name --- crates/ide-assists/src/tests/.sourcegen.rs.swp | Bin 0 -> 16384 bytes crates/ide-assists/src/tests/sourcegen.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 crates/ide-assists/src/tests/.sourcegen.rs.swp diff --git a/crates/ide-assists/src/tests/.sourcegen.rs.swp b/crates/ide-assists/src/tests/.sourcegen.rs.swp new file mode 100644 index 0000000000000000000000000000000000000000..33620c2ec61ab67567ecc02480faaf7ac4c2f692 GIT binary patch literal 16384 zcmeHOU5wmT6~3gT^e2JxBai^WU2mE3M6=!`MOEZ%wn>|&TG~*WRU%LmydL|`jyoQE z@V%4CW_LlNNIaw!Nc<>51tfTa7sT%afj1-`Due_AM8i{`XhNx4sR)5k`OdXH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)afW%l8`>Oy_%v%W~1uW_W7VS_B7MDrU^gi?%xx}0DQKIghknjP*U>Xttw))gRK?5xn#CIMX>} z6v|q*9N93*)KF!HfJ&x)q9ym3HqvM(-HXuf72`XawqtfvipJVOJ!FU0BeD|wpj;DTw)bECX}EF@0%loV#NWIqg)Sw9=q8{{Vr-AEzA ziGNZ=h-^qfO4`9q^)0A4f=Osnhdx$yP=Xx9f}?+*b_-!F3WaXfC;~ZWYT4XGWzpi!1tM!n=q=BF7leP&XC&#S2}EuzJ8Fp>Rk9UF>E>?eMZm^d1S81_U&8M|D0>@ z+s8*TVVwMeIE7(Nu$%*FG-n_#5Rx zR9?r0%+x(C8Ib8U Vec { - let handlers_dir = project_root().join("crates/ide_assists/src/handlers"); + let handlers_dir = project_root().join("crates/ide-assists/src/handlers"); let mut res = Vec::new(); for path in sourcegen::list_rust_files(&handlers_dir) { From c9a8c69ee0c0c0780fa84eeb9274cbd9bff1efe2 Mon Sep 17 00:00:00 2001 From: Peh <20146907+randomicon00@users.noreply.github.com> Date: Sat, 30 Apr 2022 21:18:02 +0000 Subject: [PATCH 4/6] update diagnostic-docs crate name --- .../src/tests/.sourcegen.rs.swp | Bin 16384 -> 12288 bytes crates/ide-diagnostics/src/tests/sourcegen.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename crates/{ide-assists => ide-diagnostics}/src/tests/.sourcegen.rs.swp (56%) diff --git a/crates/ide-assists/src/tests/.sourcegen.rs.swp b/crates/ide-diagnostics/src/tests/.sourcegen.rs.swp similarity index 56% rename from crates/ide-assists/src/tests/.sourcegen.rs.swp rename to crates/ide-diagnostics/src/tests/.sourcegen.rs.swp index 33620c2ec61ab67567ecc02480faaf7ac4c2f692..e9aa7190ae8ab87358859663a94d719b4a366b98 100644 GIT binary patch literal 12288 zcmeHNF^t?q6rF$q0TMt^2j(`)#(UZGhENbq?k*y^1f2u~B}xi%u$i^Jx0BdoYi69| z*gGgFs32)55ET_d2r5KFhiDNE(9zR^L_tKs8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znSR>#63r54d3iMadOe=7X~sw;^UgTb(UKu0v2w8?+bF+nyT0%AF_(K}(+h2c!E&Lk zp}?YDm@}lV!>}fzA6tASk_tAU$=5tLS&#Vz<;reeW{oF9C(1kRUwv!#fsH$ucE=GNV{~DIU z@ui^lugtIX^y_HUar)ILjY5e~5y?R!v_ZfEkuILa9)$)19l606%pA<}s9^&WCp}l0 zsH<$J3h9ZG@i$6AcB?;-9op%bF!EA0iZQ1QbWISKCUT7IdEtgm$3^jMZGpwhjE1FW za)afW%l8`>Oy_%v%W~1uW_W7VS_B7MDrU^gi?%xx}0DQKIghknjP*U>Xttw))gRK?5xn#CIMX>} z6v|q*9N93*)KF!HfJ&x)q9ym3HqvM(-HXuf72`XawqtfvipJVOJ!FU0BeD|wpj;DTw)bECX}EF@0%loV#NWIqg)Sw9=q8{{Vr-AEzA ziGNZ=h-^qfO4`9q^)0A4f=Osnhdx$yP=Xx9f}?+*b_-!F3WaXfC;~ZWYT4XGWzpi!1tM!n=q=BF7leP&XC&#S2}EuzJ8Fp>Rk9UF>E>?eMZm^d1S81_U&8M|D0>@ z+s8*TVVwMeIE7(Nu$%*FG-n_#5Rx zR9?r0%+x(C8Ib8U io::Result> { - let handlers_dir = project_root().join("crates/ide_diagnostics/src/handlers"); + let handlers_dir = project_root().join("crates/ide-diagnostics/src/handlers"); let mut res = Vec::new(); for path in sourcegen::list_rust_files(&handlers_dir) { From 14c30b7979cd879251a8c14ed8b9b879a14eb0d1 Mon Sep 17 00:00:00 2001 From: Peh <20146907+randomicon00@users.noreply.github.com> Date: Sat, 30 Apr 2022 21:46:10 +0000 Subject: [PATCH 5/6] update crates names in slow-tests/tidy.rs --- .../src/tests/.sourcegen.rs.swp | Bin 12288 -> 0 bytes .../tests/slow-tests/.tidy.rs.swp | Bin 0 -> 28672 bytes crates/rust-analyzer/tests/slow-tests/tidy.rs | 32 +++++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 crates/ide-diagnostics/src/tests/.sourcegen.rs.swp create mode 100644 crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp diff --git a/crates/ide-diagnostics/src/tests/.sourcegen.rs.swp b/crates/ide-diagnostics/src/tests/.sourcegen.rs.swp deleted file mode 100644 index e9aa7190ae8ab87358859663a94d719b4a366b98..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeHNF^t?q6rF$q0TMt^2j(`)#(UZGhENbq?k*y^1f2u~B}xi%u$i^Jx0BdoYi69| z*gGgFs32)55ET_d2r5KFhiDNE(9zR^L_tKs8?U|gUO0%LLd-}nw#PHG|G)qKj8FN4 zW0zN7peOv}1np5m&V7^&Efe(RO zz`MXZz!+Ese%VjR&%n39O&|nb1`Y!Ufc?N14-xVfa1@va2=L>BgnR&;2bO?+z$Xu& zUI7>Y9C#5}0hWP9;3V+tK0>|$-UH48r+|Bb&+mtyz!*3Vbb+G)1)cy70=L1>m%uu} z0n68`fNPEc$ADwNG4Q7hY!iw$`PbfUC}E;l&UwQwZ7nS=(ed`0oS(l~6nC-t`QmxJ z-Re>u#Y10&<&7;XGa{AcW0(dVV%Hl=I!uh$wxhdr$Y?vsjqPIWT&faoP?NTJq`%yu z3(J%43z5!aL&roUSv=`l5ju1_pD zbT06P?sFXoff+F9t}Ku|i8P(HBhRu(1zbn}$d1~K{&b;#Y0$<9LeLox?#`m2kfCSk zVGNAalRK6mohFf2(Gy3eK`C8oJorY5!~^qC4W`}Tu?YJ${e4TES3g5c+NeS~6VWVs zoi4qIMdbQ&t&Um|^_`7VQ#JP4w%HN3hX;Y5<$B~bBs8X0_qF7qcDg;$yPZ-s>uEIz zeohM{8GF9W7CNRw5l4(>+>HDnP9=E4%0i-VfVtOwdr!9~VyqUn*Mdg;?ov6<3fh)! z`qxq+z1Es+l?rZ7y3;-THsewRb6!ixg7HQ`sAZhdF*~)*)+9ypBk`^8iC(|cU*w9l z$|jtB57TxHVq1ij9-8*q=^~u^B*Iz0ZT=UmP-HGDT5X+bzv$35+&fp=F=8eHXC|{x zTaFovUNedZrnyhR(Y8VV4i>G2wi`AMHDfB`Vc(>E=n$gw+BS}zQ?=C)a*)Px6qvpZ zv^lhKCFePUnRW`{JVV_c@vYnDrurUu*aMCyN0 znOse;a-j|fwj&%k4Tg8b!_r+GKy{4j9R>N$%6+Cw3RBB`W=$@tB%cfsVLb(E$pbTc zlpVSfMoQd>yp?E>uXkRl&Ni#E;!yV5p*9d@mFOKmmm7*_mb1bJ(1j7Zu>_lSFW0E# zMu~Q0i@BRytIzSiV#yL;{R)x~-<#2MSi z0izJb1U_sDvqgpR>s0D={8EaHE!yDpmzSp@Uz7FzHfwE7#q>MD3apMIW970~tR@h` z*wvfjQHjE(V$gYO+=j!4VgW@T<;Gbg>?9DS~ggQi!x V)<_)fC*f5J0*eCt;&aL;e*ip~QpW%Q diff --git a/crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp b/crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp new file mode 100644 index 0000000000000000000000000000000000000000..0d396b05a0abcc2367dbf232dd8faca5d8e0eaf4 GIT binary patch literal 28672 zcmeI5dz2(qea8z85sfHl;xis=ddWyn@1|QLbiIIo~)Wbg{KH?+Ms6<7h@p#mjlXHBd28c0Hlze{o*0Z~3 zcjUl1o|EpwcYFHQeg5w6{_g!fZqeF&<(_@!^Xumre9kb8f4#liYFzWyQ{QuiVf5OP zc=Atoxz-N4y?*S3buVaJ-a18Y=(T5e2km~>@#APV>_>6U@-1)qdMBK1hgR$iCXzzN z$P1Qg`p?+4m+N7)PW|KLF$KmHScd}rxKn%n>BhO|Y}qV1HdQ9fCqIcrKK_g;Fs8tm z0%Hn{DKMtMm;z%8j43dt!2cTx#Jy9EmoeH$B_qB*`95Xf`?r(dl2<+}`pZc3{Z{h( z+T{D^1J6%QelI8Ac2Y1c|L7!rGWq`I!1E+|{57V)m;z%8j43dtz?cGK3XCZ*rofm2 zV+xEZFs8tm0uO-#mTed>qTGwc0D%8L)&GC`M8o(x_!#&I_%L`U_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fxI{Mv&2|8s&`pEGjJ^18U3i9XU1A~kVT)`(P^-9#W3k2^?Eoiq7A`B>hP zwH%=qM=`NlDv*azQxyUs;i<7hn1L|toWyx?H@ZgSa}8ssD2wVy-f=A6{}HeuM3}np zJnGOCE}GhX6~bastR)d!++bbS3s2<7S*FxTZT!87Akfh5EYmz1Rx7}+r@E(fQVH## z8#=CtKoME3Nyt$owkT0W*$whK#W;%$n7m+DDWSC(L;#no>3GQp6EKm!@l@ ztIR18W-W1875W1kz`M0t6m;;I(vIsVv1_U}lvE0Jxg#uZ^%1sULNVye{}d{#AK$fV z)ZqmLGMIh%=oPU>&7cQ|iG0xARF{W!92w$1h)14LTOy8QVpEEE?A_``zk_nN(xM!xNak@d}Bu#)!k-7wiBOY@-0}JP%r0M zDW{cxNv`1(Ngc2wOH%rgv+jxB`y~0wN2uJ~kk*lYpZMKRl8eKOewBfoeL{{gY-st* zxzfl`70zd+aah*5nM6?OIBsE9rf0*yi=4Zy)jIR4O4kI VMe_Yd)4lv+w3PO;h)2->{{RI6(I5Z- literal 0 HcmV?d00001 diff --git a/crates/rust-analyzer/tests/slow-tests/tidy.rs b/crates/rust-analyzer/tests/slow-tests/tidy.rs index 4a2f45fd51f6..9109617ecff0 100644 --- a/crates/rust-analyzer/tests/slow-tests/tidy.rs +++ b/crates/rust-analyzer/tests/slow-tests/tidy.rs @@ -195,11 +195,11 @@ https://github.blog/2015-06-08-how-to-undo-almost-anything-with-git/#redo-after- fn deny_clippy(path: &Path, text: &str) { let ignore = &[ // The documentation in string literals may contain anything for its own purposes - "ide_db/src/generated/lints.rs", + "ide-db/src/generated/lints.rs", // The tests test clippy lint hovers "ide/src/hover/tests.rs", // The tests test clippy lint completions - "ide_completion/src/tests/attribute.rs", + "ide-completion/src/tests/attribute.rs", ]; if ignore.iter().any(|p| path.ends_with(p)) { return; @@ -289,11 +289,11 @@ fn check_todo(path: &Path, text: &str) { // `ast::make`. "ast/make.rs", // The documentation in string literals may contain anything for its own purposes - "ide_db/src/generated/lints.rs", - "ide_assists/src/utils/gen_trait_fn_body.rs", - "ide_assists/src/tests/generated.rs", + "ide-db/src/generated/lints.rs", + "ide-assists/src/utils/gen_trait_fn_body.rs", + "ide-assists/src/tests/generated.rs", // The tests for missing fields - "ide_diagnostics/src/handlers/missing_fields.rs", + "ide-diagnostics/src/handlers/missing_fields.rs", ]; if need_todo.iter().any(|p| path.ends_with(p)) { return; @@ -320,12 +320,12 @@ fn check_dbg(path: &Path, text: &str) { // Assists to remove `dbg!()` "handlers/remove_dbg.rs", // We have .dbg postfix - "ide_completion/src/completions/postfix.rs", - "ide_completion/src/completions/keyword.rs", - "ide_completion/src/tests/proc_macros.rs", + "ide-completion/src/completions/postfix.rs", + "ide-completion/src/completions/keyword.rs", + "ide-completion/src/tests/proc_macros.rs", // The documentation in string literals may contain anything for its own purposes - "ide_completion/src/lib.rs", - "ide_db/src/generated/lints.rs", + "ide-completion/src/lib.rs", + "ide-db/src/generated/lints.rs", // test for doc test for remove_dbg "src/tests/generated.rs", ]; @@ -351,13 +351,13 @@ fn check_test_attrs(path: &Path, text: &str) { "ide/src/runnables.rs", // A legit test which needs to be ignored, as it takes too long to run // :( - "hir_def/src/nameres/collector.rs", + "hir-def/src/nameres/collector.rs", // Long sourcegen test to generate lint completions. - "ide_db/src/tests/sourcegen_lints.rs", + "ide-db/src/tests/sourcegen_lints.rs", // Obviously needs ignore. - "ide_assists/src/handlers/toggle_ignore.rs", + "ide-assists/src/handlers/toggle_ignore.rs", // See above. - "ide_assists/src/tests/generated.rs", + "ide-assists/src/tests/generated.rs", ]; if text.contains("#[ignore") && !need_ignore.iter().any(|p| path.ends_with(p)) { panic!("\ndon't `#[ignore]` tests, see:\n\n {}\n\n {}\n", ignore_rule, path.display(),) @@ -368,7 +368,7 @@ fn check_test_attrs(path: &Path, text: &str) { let need_panic: &[&str] = &[ // This file. "slow-tests/tidy.rs", - "test_utils/src/fixture.rs", + "test-utils/src/fixture.rs", ]; if text.contains("#[should_panic") && !need_panic.iter().any(|p| path.ends_with(p)) { panic!( From aade31943f957d9fbbf6f6852effdf48e0f2b3f5 Mon Sep 17 00:00:00 2001 From: Peh <20146907+randomicon00@users.noreply.github.com> Date: Sun, 1 May 2022 09:06:23 +0000 Subject: [PATCH 6/6] delete another swap file --- .../rust-analyzer/tests/slow-tests/.tidy.rs.swp | Bin 28672 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp diff --git a/crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp b/crates/rust-analyzer/tests/slow-tests/.tidy.rs.swp deleted file mode 100644 index 0d396b05a0abcc2367dbf232dd8faca5d8e0eaf4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 28672 zcmeI5dz2(qea8z85sfHl;xis=ddWyn@1|QLbiIIo~)Wbg{KH?+Ms6<7h@p#mjlXHBd28c0Hlze{o*0Z~3 zcjUl1o|EpwcYFHQeg5w6{_g!fZqeF&<(_@!^Xumre9kb8f4#liYFzWyQ{QuiVf5OP zc=Atoxz-N4y?*S3buVaJ-a18Y=(T5e2km~>@#APV>_>6U@-1)qdMBK1hgR$iCXzzN z$P1Qg`p?+4m+N7)PW|KLF$KmHScd}rxKn%n>BhO|Y}qV1HdQ9fCqIcrKK_g;Fs8tm z0%Hn{DKMtMm;z%8j43dt!2cTx#Jy9EmoeH$B_qB*`95Xf`?r(dl2<+}`pZc3{Z{h( z+T{D^1J6%QelI8Ac2Y1c|L7!rGWq`I!1E+|{57V)m;z%8j43dtz?cGK3XCZ*rofm2 zV+xEZFs8tm0uO-#mTed>qTGwc0D%8L)&GC`M8o(x_!#&I_%L`U_)G9sunMjM)8H3R zFpQsrkASy>*Mj}vC#M_6x52l-zkyr9p8^Lo!G5q8ycp~P74XZ)8^#0RKftHJ0(c3i zf(c-P)4=zB$1q+6T3{b|EV%!1v;*D`ZUyfKuK?G9HmHIr@MQ4dV-4e1;LG5P;Jx54 z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