-
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
ICE: "vtables missing where they are needed" #12064
Comments
I believe this is #4252. #[unsafe_destructor]
impl<K, V, IS> Drop for NodeRef<K, V, IS> {
fn drop(&mut self) {
unsafe {
let node: &mut UnsafeNode<K, V, IS> = cast::transmute(self.ptr);
let old_count = node.ref_count.fetch_sub(1, Acquire);
assert!(old_count >= 1);
if old_count == 1 {
node.destroy()
}
}
}
} |
Possible. But since the error message is a different one, I rather opened a new issue. I just now saw that 'my' error message is mentioned later in the comments. Thanks for taking a look at it @Jurily! Interestingly, the code you cite is from the master branch and works just fine 😕 |
👍 |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 25, 2022
fix: Fix `ide_db::search` not searching bodies of attributed items Fixes rust-lang/rust-analyzer#12050
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling the following project leads to an ICE:
https://github.com/michaelwoerister/rs-persistent-datastructures/tree/vtable_ice
I don't think it does anything special but I have not done any investigation what the cause might be. Give me a shout if the repro-branch needs an update to compile (or not compile in just the right way :)
The text was updated successfully, but these errors were encountered: