rust-analyzer/crates
bors 2e479158bb Auto merge of #14208 - Kohei316:master, r=Veykril
fix:add a case in which remainig is None in resolveing types when resolving hir path.

fix #14030 The variable type is being determined incorrectly
This PR fixed a problem in which `go to definition` is jumping to the incorrect position because it was failing to resolve the type in case it defined in the module when resolving hir.
In addition, I added a test for this issue and refactored the related code.
This is my first PR and I am using a translation tool to write this text. Let me know if you have any problems.
2023-02-27 08:40:39 +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 ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
hir Auto merge of #14208 - Kohei316:master, r=Veykril 2023-02-27 08:40:39 +00:00
hir-def Add check for extra path segments after an angled one 2023-02-25 16:16:49 +01:00
hir-expand internal: Enable smallvec's union feature 2023-02-14 17:01:01 +01:00
hir-ty minor: import Either from either 2023-02-25 21:55:11 +09:00
ide Auto merge of #14208 - Kohei316:master, r=Veykril 2023-02-27 08:40:39 +00:00
ide-assists Conditionally add snippet marker. 2023-02-16 10:50:27 +13:00
ide-completion internal: Make CompletionItem more POD-like 2023-02-16 09:29:55 +01:00
ide-db Auto merge of #14128 - Veykril:parser, r=Veykril 2023-02-14 12:59:39 +00:00
ide-diagnostics ⬆️ rust-analyzer 2023-02-13 13:55:14 +02: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 Add check for extra path segments after an angled one 2023-02-25 16:16:49 +01: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 ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
rust-analyzer Try to improve the rustfmt.overrideCommand docs 2023-02-21 12:43:22 +02: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 minor: import Either from either 2023-02-25 21:55:11 +09:00
test-utils ⬆️ rust-analyzer 2023-02-13 13:55:14 +02:00
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