rust-analyzer/crates
bors feefbe7918 Auto merge of #13475 - lowr:fix/lookup-impl-method-trait-ref, r=flodiebold
fix: Test all generic args for trait when finding matching impl

Addresses https://github.com/rust-lang/rust-analyzer/pull/13463#issuecomment-1287816680

When finding matching impl for a trait method, we've been testing the unifiability of self type. However, there can be multiple impl of a trait for the same type with different generic arguments for the trait. This patch takes it into account and tests the unifiability of all type arguments for the trait (the first being the self type) thus enables rust-analyzer to find the correct impl even in such cases.
2022-10-26 12:06:26 +00:00
..
base-db formatting 2022-09-26 18:35:06 +01:00
cfg Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
flycheck fix: Fix standard flycheck command not being executed in the workspace it is being invoked for 2022-10-24 16:07:42 +02:00
hir Test all generic args for trait when finding matching impl 2022-10-25 23:28:40 +09:00
hir-def Support const generics for builtin derive macro 2022-10-23 00:05:22 +09:00
hir-expand Support const generics for builtin derive macro 2022-10-23 00:05:22 +09:00
hir-ty Test all generic args for trait when finding matching impl 2022-10-25 23:28:40 +09:00
ide Test all generic args for trait when finding matching impl 2022-10-25 23:28:40 +09:00
ide-assists feat: add multiple getters mode in generate_getter 2022-10-20 16:47:23 +05:30
ide-completion Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
ide-db Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
ide-diagnostics Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
ide-ssr Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
limit Properly cfg the max field of Limit 2022-07-31 19:27:20 +02:00
mbe Auto merge of #13418 - lnicola:bump-deps, r=lnicola 2022-10-15 11:27:12 +00:00
parser Auto merge of #13160 - ChayimFriedman2:parse-parenthesized-type-path-with-coloncolon, r=jonas-schievink 2022-09-01 21:00:14 +00:00
paths Auto merge of #12808 - Veykril:check-workspace, r=Veykril 2022-08-04 12:57:04 +00:00
proc-macro-api Bump tracing 2022-10-15 12:52:34 +03:00
proc-macro-srv Don't run proc-macro-srv tests on the rust-analyzer repo 2022-09-24 00:08:28 +02:00
proc-macro-srv-cli Gate and rename binary, use it if it's in the sysroot 2022-07-25 16:22:39 +02:00
proc-macro-test revert nightly rustfmt formatting that accidentally slipped in 2022-07-25 14:18:30 +02:00
profile Bump libc 2022-10-15 12:55:56 +03:00
project-model Handle multiple projects sharing dependency correctly in once strategy 2022-10-23 18:01:35 +02:00
rust-analyzer fix: Don't respond with an error when requesting a shutdown while starting 2022-10-24 14:56:58 +02:00
sourcegen Remove obsolete in-rust-tree feature from sourcegen 2022-09-26 11:34:30 +02:00
stdx Bump libc 2022-10-15 12:55:56 +03:00
syntax Simplify 2022-10-19 21:17:11 +02:00
test-utils Revert "feat: Diagnose some incorrect usages of the question mark operator" 2022-10-18 14:18:59 +02:00
text-edit Bump anyhow, arbitrary, itertools, semver, serde 2022-10-15 12:52:34 +03:00
toolchain Bump home 2022-10-15 12:53:26 +03:00
tt Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
vfs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
vfs-notify Bump notify 2022-10-15 13:03:39 +03:00