Matthias Krüger 664255b168
Rollup merge of - compiler-errors:layout-modulo-regions, r=matthewjasper
Erase regions before calculating layout for packed field capture

Self-explanatory. We just erase region inferencing because we don't need that for layout computation... Q: layouts are always equal modulo regions, right?

Fixes 
2022-02-11 07:48:02 +01:00
..

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