rust/crates/assists/src
bors[bot] a15d19619e
Merge #6845
6845: Don't HirDisplay unknown types when displaying for source r=Veykril a=Veykril

Was wondering why the add missing impl assist didn't do anything here:
![Code_JCA1Qo0V9P](https://user-images.githubusercontent.com/3757771/101990300-7af44a80-3ca6-11eb-8431-e5eb4de4e78c.png)
Turns out me forgetting to set the Index::Idx type in the trait causes RA to panic due to it trying to to create an unparsable type in the `make` module.
Now we get this instead which imo is definitely better to have.
![Code_MUFPJUCULY](https://user-images.githubusercontent.com/3757771/101990347-c9094e00-3ca6-11eb-9c6a-146bddf64b7c.png)



Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-12-12 18:06:36 +00:00
..
handlers Merge #6845 2020-12-12 18:06:36 +00:00
tests Add replace_match_with_if_let assist 2020-12-05 15:41:36 +01:00
utils Extract the import code into the shared module 2020-11-27 18:28:41 +02:00
assist_config.rs Normalize spelling to American English 2020-12-10 17:51:56 +03:00
assist_context.rs Fix panic when extracting struct 2020-11-09 16:59:57 +01:00
ast_transform.rs Add Lifetimes to the HIR 2020-12-12 00:56:52 +01:00
lib.rs Add replace_match_with_if_let assist 2020-12-05 15:41:36 +01:00
tests.rs Support multi-file assist tests 2020-11-09 14:44:08 +01:00
utils.rs Extract the import code into the shared module 2020-11-27 18:28:41 +02:00