rust/crates/rust-analyzer/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
..
bin Support DidChangeWorkspaceFolders capability 2023-02-07 22:40:40 +01:00
cli fix: Load the sysroot in all CLI commands 2023-03-03 11:21:27 +01:00
config Fix checkOnSave to check config patching not always working 2023-01-18 20:29:55 +01:00
diagnostics Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
caps.rs Bump lsp-types 2023-02-14 14:59:50 +01:00
cargo_target_spec.rs ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
cli.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
config.rs Auto merge of #14218 - Veykril:root-dedup, r=Veykril 2023-02-28 11:09:27 +00:00
diagnostics.rs remove useless conversions 2023-01-02 15:02:54 +00:00
diff.rs Fix last few warnings manually 2022-07-20 15:05:02 +02:00
dispatch.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
from_proto.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
global_state.rs Tweak change collapsing 2023-01-29 17:20:22 +02:00
handlers.rs Fix markdown removal in hover handling whitespace weirdly 2023-01-20 14:29:12 +01:00
integrated_benchmarks.rs Auto merge of #14100 - Veykril:load_cargo-proc-macro-srv-config, r=Veykril 2023-02-08 10:12:31 +00:00
lib.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
line_index.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
lsp_ext.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
lsp_utils.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
main_loop.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
markdown.rs Code blocks with tilde also works like code block 2022-04-01 20:29:32 +09:00
mem_docs.rs ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
op_queue.rs internal: more visibility into why things happen 2022-04-16 13:17:27 +01:00
reload.rs Deduplicate source roots that have overlapping include paths 2023-02-28 12:08:23 +01:00
semantic_tokens.rs remove useless casts 2023-01-02 15:02:54 +00:00
task_pool.rs Add numThreads in config to avoid spawning lots of threads every time 2022-12-09 21:35:06 +08:00
to_proto.rs Lower and handle trait aliases in HIR 2023-03-04 00:24:07 +09:00
version.rs Bring the version command output in line with other rust tools 2022-06-02 18:36:02 +02:00