-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: DepNode Hir(btrs[5509]::metainfo[0]::torrent[0]::Torrent[0]::source[0]) should have been pre-allocated but wasn't #67983
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
Comments
If I ran |
Can you provide the source code needed to reproduce this? |
The (not a lot of) code is at: I myself cant reproduce with the same code now.. I tried cargo clean once and now it doesnt ICE. |
Have similar issue:
running |
It is unlikely that we will be able to do anything here unless:
|
Closing as I don't have an MCVE and it doesn't reproduce even with the same code. |
Wait, this is a bug, being hard to produce doesn't mean it doesn't exist. It should be reopened as it's not solved. Worst case put it to low priority, but definitely not closed. |
Sure.. I guess if someone else finds an MCVE, they can post here. |
I am also seeing this issue. For me, it happened after I did something like this:
// ./src/lib.rs:
pub trait Foo {
a_value(&self) -> u8;
}
pub struct Bar {
foo: Box<dyn Foo>
}
impl Bar {
pub fn use_my_foo(&self) -> u8 {
self.foo.a_value()
}
}
// ./src/lib.rs:
pub struct Foo {
a_value: u8
}
pub struct Bar {
foo: Foo
}
impl Bar {
pub fn use_my_foo(&self) -> u8 {
// Forget to change this to self.foo.a_value
self.foo.a_value()
}
}
|
This was using |
This does not occur when I am using |
@grenewode does it happen systematically when you do these steps on rust-stable ? |
Closing in favor of #69596, which has a reliable reproduction |
Rust version: 1.40.0
Platform: Ubuntu 18.04
Backtrace:
The text was updated successfully, but these errors were encountered: