rust/compiler/rustc_typeck
Eric Holk 97b24f3236 Drop tracking: track borrows of projections
Previous efforts to ignore partially consumed values meant we were also
not considering borrows of a projection. This led to cases where we'd
miss borrowed types which MIR expected to be there, leading to ICEs.
2022-02-07 16:01:27 -08:00
..

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.