bors[bot] d7013a5934
Merge #7140
7140: Store trait associated items in fst r=matklad a=SomeoneToIgnore

Store imported traits' associated function/methods and constants into `ImportMap.fst` and pefrorm the imports search on them.

This is a first step towards trait autoimport during completion functionality, the way I see it, after this PR, only a few major things are left to be done:

* store all traits' assoc items into fst, not only the ones in scope, as we do now. Any code pointers on how to do this are welcome 😄 
* adjust a few modules in completions crate (`dot.rs`, `qualified_path.rs` at least) to query the import map, reusing the `import_assets` logic heavily

==
With the current import and autoimport implementations, it looks like for a single query, we're either interested in either associated items lookup or in all other `fst` contents lookup, but never both simultaneously.
I would rather not split `fst` in two but add another `Query` parameter to separate those, but let me know if you have any ideas.

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
2021-01-05 12:04:35 +00:00
..
2020-12-24 12:04:28 +00:00
2021-01-04 20:37:50 -08:00
2020-12-24 12:49:40 +01:00
2021-01-04 20:37:50 -08:00
2020-12-24 12:04:28 +00:00
2021-01-01 10:06:42 +01:00
2021-01-05 14:03:58 +02:00
2021-01-04 17:44:27 +02:00
2021-01-01 10:06:42 +01:00
2021-01-01 10:06:42 +01:00
2020-12-17 00:26:01 +01:00
2021-01-02 00:44:59 +01:00
2020-12-19 01:10:56 +01:00
2021-01-01 10:06:42 +01:00
2020-12-16 14:16:09 +01:00