4
fix: deduplicate fields and types in completion by lowr · Pull Request #15026 ·...
source link: https://github.com/rust-lang/rust-analyzer/pull/15026
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.
Fixes #15024
hir_ty::autoderef()
(which is only meant to be used outsidehir-ty
) now deduplicates types and completely resolves inference variables within.- field completion now deduplicates fields of the same name and only picks such field of the first type in the deref chain.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK