rust-analyzer/crates/hir_ty/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
..
diagnostics Merge #6769 2020-12-10 16:18:49 +00:00
infer Merge #6818 2020-12-12 14:35:38 +00:00
tests Infer labeled blocks 2020-12-12 00:06:48 +01:00
traits Upgrade Chalk 2020-12-07 11:48:58 +01:00
autoderef.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
db.rs Upgrade Chalk 2020-12-07 11:48:58 +01:00
diagnostics.rs Added remove this semicolon test 2020-12-12 13:50:11 +02:00
display.rs Merge #6845 2020-12-12 18:06:36 +00:00
infer.rs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
lib.rs Add Lifetimes to the HIR 2020-12-12 00:56:52 +01:00
lower.rs Add Lifetimes to the HIR 2020-12-12 00:56:52 +01:00
method_resolution.rs Use correct, full substs for self type in impl 2020-12-04 18:43:47 +01:00
op.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
primitive.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
test_db.rs Introduce anchored_path 2020-12-09 19:07:05 +03:00
tests.rs Replace RacyFlag with OnceCell 2020-11-11 03:11:40 +01:00
traits.rs Upgrade Chalk 2020-12-07 11:48:58 +01:00
utils.rs Add Lifetimes to the HIR 2020-12-12 00:56:52 +01:00