1
Fork 0

translate drop glue using MIR

Drop of arrays is now translated in trans::block in an ugly way that I
should clean up in a later PR, and does not handle panics in the middle
of an array drop, but this commit & PR are growing too big.
This commit is contained in:
Ariel Ben-Yehuda 2017-03-14 01:08:21 +02:00
parent 26df816f52
commit f2c7917402
53 changed files with 719 additions and 1139 deletions

View file

@ -66,5 +66,3 @@ fn main() {
//~ TRANS_ITEM fn trait_method_default_impl::SomeGenericTrait[0]::bar[0]<u32, i16, ()>
0u32.bar(0i16, ());
}
//~ TRANS_ITEM drop-glue i8