rust/crates
Aleksey Kladov af2366acdf Goto definition works for S { a: } case
What happens here is that we lower `: ` to a missing expression, and
then correctly record that the corresponding field expression resolves
to a specific field. Where we fail is in the mapping of syntax to this
missing expression. Doing it via `ast_field.expr()` fails, as that
expression is `None`. Instead, we go in the opposite direcition and ask
each lowered field about its source.

This works, but has wrong complexity `O(N)` and, really, the
implementation is just too complex. We need some better management of
data here.
2021-03-15 15:12:39 +03:00
..
base_db
cfg
flycheck
hir Goto definition works for S { a: } case 2021-03-15 15:12:39 +03:00
hir_def Create TraitEnvironment through a query 2021-03-13 20:38:45 +01:00
hir_expand some clippy::performance fixes 2021-03-15 10:19:59 +01:00
hir_ty More renaming 2021-03-14 16:33:27 +01:00
ide Goto definition works for S { a: } case 2021-03-15 15:12:39 +03:00
ide_assists Allow applying De Morgan's law to multiple terms at once 2021-03-12 10:19:54 -05:00
ide_completion some clippy::performance fixes 2021-03-15 10:19:59 +01:00
ide_db Merge #8021 #8022 2021-03-15 10:05:49 +00:00
ide_ssr Merge #7961 2021-03-10 17:06:11 +00:00
mbe some clippy::performance fixes 2021-03-15 10:19:59 +01:00
parser Fix remaining references to cargo xtask codegen 2021-03-12 15:10:33 +01:00
paths
proc_macro_api some clippy::performance fixes 2021-03-15 10:19:59 +01:00
proc_macro_srv Compilation speed 2021-03-09 22:30:58 +03:00
proc_macro_test
profile
project_model some clippy::performance fixes 2021-03-15 10:19:59 +01:00
rust-analyzer Merge #8021 #8022 2021-03-15 10:05:49 +00:00
stdx
syntax Attach trivia to ast::Union nodes 2021-03-14 11:11:01 +01:00
test_utils Use upstream cov-mark 2021-03-08 22:19:44 +02:00
text_edit
toolchain
tt add expand log 2021-03-13 20:14:21 +08:00
vfs
vfs-notify