-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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) ❄️
Comments
visiting for triage, email from 2013 sep 23. bug still occurs. (updated it to match new signature for Drop trait.) |
I've updated this to HEAD, and it works with this code: myextra.rs:
main.rs:
Closing. |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Oct 21, 2021
Add option to `new_lint` to generate MSRV enabled lint changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: