4

fix: resolve all inference vars in `InferenceResult::assoc_resolutions` by lowr...

 1 year ago
source link: https://github.com/rust-lang/rust-analyzer/pull/13774
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Contributor

@lowr lowr commented Dec 14, 2022

edited

I think this fixes '#13773, but still haven't found repro. I'll try finding one so we can have a regression test.

We should resolve every inference variable in InferenceResult after inference is done. We started recording Substitutions for each resolved associated items in #13725, but failed to do so which causes crash when analyzing source in IDE layer.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK