mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-30 15:03:42 +00:00
a15d19619e
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> |
||
---|---|---|
.. | ||
diagnostics | ||
infer | ||
tests | ||
traits | ||
autoderef.rs | ||
db.rs | ||
diagnostics.rs | ||
display.rs | ||
infer.rs | ||
lib.rs | ||
lower.rs | ||
method_resolution.rs | ||
op.rs | ||
primitive.rs | ||
test_db.rs | ||
tests.rs | ||
traits.rs | ||
utils.rs |