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:
parent
26df816f52
commit
f2c7917402
53 changed files with 719 additions and 1139 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue