Skip to content
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

add an intrinsic for calling a type's destructor #6239

Closed
thestinger opened this issue May 4, 2013 · 1 comment
Closed

add an intrinsic for calling a type's destructor #6239

thestinger opened this issue May 4, 2013 · 1 comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@thestinger
Copy link
Contributor

This would be useful for generic smart pointer types implemented in libraries, to avoid a swap in the destructor.

Alternatively, just allow finalize to be called in unsafe blocks.

@bblum
Copy link
Contributor

bblum commented Jun 11, 2013

dup of #4330

@bblum bblum closed this as completed Jun 11, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Nov 20, 2020
Fix map_clone with deref and clone

changelog: Fix map_clone false positive with deref coercion

Fixes rust-lang#6239
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

2 participants