rust-analyzer/crates/ide-completion/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
..
completions Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
context Simplify 2023-02-15 13:38:42 +01:00
render Trigger call info for more completions of signature having things 2023-02-14 17:05:07 +01:00
tests Make else autocompletion work in more places 2023-02-12 10:49:57 +01:00
completions.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
config.rs Format code 2023-01-19 18:33:47 -08:00
context.rs Auto merge of #14184 - lowr:feat/trait-alias-def, r=Veykril 2023-03-03 15:45:18 +00:00
item.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
lib.rs Simplify 2023-02-15 13:38:42 +01:00
render.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
snippet.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
tests.rs internal: Make CompletionItem more POD-like 2023-02-16 09:29:55 +01:00