rust-analyzer/crates
bors[bot] da894358e1
Merge #9764
9764: fix: Don't use the module as the candidate node in fuzzy path flyimport r=Veykril a=Veykril

The problem was that the candidate node is whats being used for the scope, so using an inline module will yield the surrounding scope of the module instead of the scope of the module itself.
Also seems to fix the problem in this comment https://github.com/rust-analyzer/rust-analyzer/issues/9760#issuecomment-891125674, though I could not recreate that in a test for some reason.

Fixes #9760

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-08-02 18:43:02 +00:00
..
base_db Complete editable private items 2021-07-23 19:57:16 +02:00
cfg internal: add simple smoke test for project model 2021-07-20 16:23:57 +03:00
flycheck internal: a bit more of cwd safety for flycheck 2021-07-17 18:13:35 +03:00
hir Merge #9761 2021-08-02 15:44:43 +00:00
hir_def internal: explain that we don't ref in style.md 2021-08-02 15:59:28 +03:00
hir_expand internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
hir_ty internal: explain that we don't ref in style.md 2021-08-02 15:59:28 +03:00
ide Merge #9762 2021-08-02 16:17:15 +00:00
ide_assists Simplify inline_local_variable assist 2021-08-02 15:27:47 +02:00
ide_completion Merge #9764 2021-08-02 18:43:02 +00:00
ide_db Wrap inner tail expressions in MissingOkOrSomeInTailExpr 2021-07-31 20:00:09 +02:00
ide_diagnostics Wrap inner tail expressions in MissingOkOrSomeInTailExpr 2021-07-31 20:00:09 +02:00
ide_ssr minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
limit internal: add API to check what are the max limits in practice 2021-07-31 18:26:43 +03:00
mbe minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
parser Simplify 2021-07-30 13:12:52 +02:00
paths Fix AbsPath::ends_with 2021-07-18 10:25:14 +03:00
proc_macro_api Replace useless types 2021-07-31 14:29:15 +02:00
proc_macro_srv Bump deps 2021-07-31 11:25:03 +03:00
proc_macro_test cargo_metadata 0.14 2021-07-09 11:01:55 -04:00
profile internal: make non-zero times stand out in profile 2021-07-31 16:22:03 +03:00
project_model Rust project project model smoke tests 2021-08-01 15:00:34 -07:00
rust-analyzer Make LoadCargoConfig, fn load_workspace_at & fn load_workspace public again 2021-08-01 19:12:04 +02:00
sourcegen minor: make sure that project_root works correctly 2021-07-13 15:02:29 +03:00
stdx Remove proc macro management thread 2021-07-08 16:43:39 +02:00
syntax Wrap inner tail expressions in MissingOkOrSomeInTailExpr 2021-07-31 20:00:09 +02:00
test_utils Complete editable private items 2021-07-23 19:57:16 +02:00
text_edit minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
toolchain minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
tt minor: drop dummy authors field 2021-07-05 14:19:41 +03:00
vfs internal: make it easier to isolate IO 2021-07-17 17:55:16 +03:00
vfs-notify Bump notify to 5.0.0-pre.11 2021-07-28 10:09:58 -07:00