fix cross-crate destructor inlining