]>
git.lizzy.rs Git - rust.git/commit
Make hir ProjectionKind more precise
This commit also categorizing access as Field, Index, or Subslice.
Ideas are taken from `mir::ProjectionElem`.
Proposed changes: https://github.com/rust-lang/project-rfc-2229/blob/master/hir-place-target.md
Closes: https://github.com/rust-lang/project-rfc-2229/issues/1,
https://github.com/rust-lang/project-rfc-2229/issues/2
Co-authored-by: Aman Arora <me@aman-arora.com>
Co-authored-by: Chris Pardy <chrispardy36@gmail.com>
Co-authored-by: Dhruv Jauhar <dhruvjhr@gmail.com>