Mazdak Farrokhzad a96e3883c1
Rollup merge of #59514 - tmandry:remove-adt-def-from-projection-elem, r=eddyb
Remove adt_def from projections and downcasts in MIR

As part of optimizing generator layouts in MIR, we'd like to allow downcasting generators to variants which do not have a corresponding `def_id`, since they are created by the compiler.

This refactor hopes to allow that, without regressing perf.

r? @eddyb
2019-04-03 04:36:12 +02:00
..
2019-02-10 23:42:32 +00:00
2019-02-10 23:42:32 +00:00
2019-02-15 21:40:24 -03:00
2019-03-16 21:04:10 +01:00