rust-analyzer/crates
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
..
base-db ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
cfg ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
flycheck Deduplicate source roots that have overlapping include paths 2023-02-28 12:08:23 +01:00
hir Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
hir-def Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
hir-expand Show pattern mismatch diagnostics 2023-03-03 10:41:44 +01:00
hir-ty Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
ide Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
ide-assists Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
ide-completion Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
ide-db Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
ide-diagnostics Auto merge of #14222 - Veykril:pat-mismatch-diags, r=Veykril 2023-03-03 10:33:54 +00:00
ide-ssr ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
intern ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
limit ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
mbe internal: Enable smallvec's union feature 2023-02-14 17:01:01 +01:00
parser Parse trait alias as a distinct AST type 2023-03-04 00:23:56 +09:00
paths ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
proc-macro-api Cargo fmt 2023-02-14 14:45:05 -05:00
proc-macro-srv ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
proc-macro-srv-cli ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
proc-macro-test ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
profile ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
project-model Don't drop rustc crates in the rustc workspace 2023-03-02 12:55:41 +01:00
rust-analyzer Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
sourcegen ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
stdx Fix a pair of typos 2023-02-15 14:11:11 +02:00
syntax refactor: leverage HasAttrs for code brevity 2023-03-04 00:24:03 +09:00
test-utils beginning of MIR 2023-02-27 23:45:54 +03:30
text-edit ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
toolchain Respect $CARGO_HOME when looking up toolchains. 2023-02-26 15:37:04 +09:00
tt ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
vfs ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
vfs-notify ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00