-
Notifications
You must be signed in to change notification settings - Fork 356
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
call user defined drop impls #74
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great!
// special case `Box` to deallocate the inner allocation | ||
// FIXME: if user defined Drop impls work, then this can go away, since the stdlib calls | ||
// heap::deallocate | ||
if let ty::TyBox(contents_ty) = ty.sty { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merge this if let
into the match
below.
We should be able to fix this now, right? https://github.com/solson/miri/blob/master/tests/run-pass/vecs.rs#L1 |
In fact you can probably just |
This reverts commit 366c793.
indeed... reverting that commit simply worked... |
docs: improve badges and synopsis
No description provided.