Cross-crate inlined drop methods don't work. #7793
Labels
A-destructors
Area: Destructors (`Drop`, …)
A-metadata
Area: Crate metadata
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Consider the following crate myextra.rs, and user of the crate main.rs. After the myextra.rs crate is succesfully compiled, and when main.rs is compiled, and linked with myextra.rs the following internal compiler error occurs, and the following error is logged (with RUST_LOG=1)
myextra.rs
main.rs
Commands to reproduce:
Stack trace from gdb:
The text was updated successfully, but these errors were encountered: