]> git.lizzy.rs Git - rust.git/commit
Merge #11938
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 8 Apr 2022 18:00:41 +0000 (18:00 +0000)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 18:00:41 +0000 (18:00 +0000)
commit63acf724fa1e18b5673a97437d2cbfd035316394
tree3563dab336e4ff51b0ec5ce6c64cc915b4578165
parent847c552ab3d257a45fee6ef2c1737de52c081d11
parent22b13c8bff1908b40beb4d9f8e4dc99ea8864465
Merge #11938

11938: feat: improve assoc. item completion in trait impls r=jonas-schievink a=jonas-schievink

Account for macro-generated items, increase the score of these completions since they're very relevant, and allow them to trigger when the cursor is directly in the assoc. item list without requiring further input.

![screenshot-2022-04-08-18:12:06](https://user-images.githubusercontent.com/1786438/162481277-2a0d2f21-dc20-4452-804d-6370766216b6.png)

Part of https://github.com/rust-analyzer/rust-analyzer/issues/11860

bors r+

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>