rust-analyzer/crates/ide-db/src
bors 6756294aa0 Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril
Handle trait alias definitions

Part of #2773

This PR adds a bunch of structs and enum variants for trait aliases. Trait aliases should be handled as an independent item because they are semantically distinct from traits.

I basically started by adding `TraitAlias{Id, Loc}` to `hir_def::item_tree` and iterated adding necessary stuffs until compiler stopped complaining what's missing. Let me know if there's still anything I need to add.

I'm opening up this PR for early review and stuff. I'm planning to add tests for IDE functionalities in this PR, but not type-related support, for which I put FIXME notes.
2023-03-03 15:45:18 +00:00
..
generated Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
imports Simplify 2023-02-27 15:51:45 +01:00
syntax_helpers ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
test_data ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
tests ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
active_parameter.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
apply_change.rs ⬆️ rust-analyzer 2022-08-23 10:05:52 +03:00
assists.rs ⬆️ rust-analyzer 2023-01-09 10:36:22 -08:00
defs.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
famous_defs.rs Improve "Generate Deref impl" assist 2022-05-16 20:10:46 +02:00
helpers.rs feat: allow generate_function to generate in different local crate 2023-03-03 18:40:13 +09:00
items_locator.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
label.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
lib.rs Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
line_index.rs Update crates/ide-db/src/line_index.rs 2023-02-14 08:19:58 +00:00
path_transform.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
rename.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
rust_doc.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
search.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
source_change.rs ⬆️ rust-analyzer 2022-08-30 14:51:24 +03:00
symbol_index.rs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
traits.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
ty_filter.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
use_trivial_constructor.rs Fix typo 2023-03-03 01:12:39 +09:00