rust/crates
bors[bot] 8d8d542dfa
Merge #3108
3108: Magic Completion for `impl Trait for` Associated Items r=matklad a=kdelorey

# Summary
This PR adds a set of magic completions to auto complete associated trait items (functions/consts/types). 

![Associated Trait Impl](https://user-images.githubusercontent.com/2295721/74493144-d8f1af00-4e96-11ea-93a4-82725bf89646.gif)

## Notes
Since the assist and completion share the same logic when figuring out the associated items that are missing, a shared utility was created in the `ra_assists::utils` module.

Resolves #1046 

As this is my first PR to the rust-analyzer project, I'm new to the codebase, feedback welcomed!

Co-authored-by: Kevin DeLorey <2295721+kdelorey@users.noreply.github.com>
2020-02-17 09:34:08 +00:00
..
ra_arena
ra_assists Merge #3108 2020-02-17 09:34:08 +00:00
ra_batch
ra_cargo_watch Update snapshot tests due to removed SuggestedFix 2020-02-03 12:24:57 +01:00
ra_cfg
ra_cli 1-based columns 2020-02-16 18:30:48 +01:00
ra_db Apply the reviews suggestions 2020-02-05 12:47:28 +02:00
ra_fmt Refactor if-let -> match assist to use ast::make 2020-02-05 14:08:16 +01:00
ra_hir Introduce AsMacroCall trait 2020-02-17 12:57:24 +08:00
ra_hir_def Introduce AsMacroCall trait 2020-02-17 12:57:24 +08:00
ra_hir_expand Add couple of utility methods 2020-02-12 18:19:55 +01:00
ra_hir_ty Fix coercion of &T to itself 2020-02-16 12:58:20 +01:00
ra_ide Merge #3108 2020-02-17 09:34:08 +00:00
ra_ide_db Remove extra dep 2020-02-15 23:23:44 +01:00
ra_lsp_server Merge #3181 2020-02-17 09:05:01 +00:00
ra_mbe ra_syntax: refactored the lexer design as per @matklad and @kiljacken PR review 2020-02-04 00:00:55 +02:00
ra_parser Add test for unnamed argument in function pointer 2020-02-12 22:55:37 +01:00
ra_prof Enable profiling for bench 2020-02-16 18:04:08 +01:00
ra_project_model Make AtomicX type resolve again 2020-02-14 19:33:39 +01:00
ra_syntax Run cargo test 2020-02-12 23:15:48 +01:00
ra_text_edit move to to_usize() 2020-02-10 01:57:43 +02:00
ra_tt
ra_vfs_glob
test_utils