You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2024. It is now read-only.
Currently within hir::Place type information is only stored for the final value/memory being read.
Type information at each intermediate access can be useful later and computing this information again at each Projection could be complicated and costly.
Currently within
hir::Placetype information is only stored for the final value/memory being read.Type information at each intermediate access can be useful later and computing this information again at each Projection could be complicated and costly.
The final structure is explained here:
https://github.com/rust-lang/project-rfc-2229/blob/master/hir-place-target.md
Projection is defined here: https://github.com/rust-lang/rust/blob/master/src/librustc_typeck/mem_categorization.rs#L77
Based on discussion on Zulip we also want the following to close this issue