-
Notifications
You must be signed in to change notification settings - Fork 13k
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: task 'rustc' failed at 'OwnedSlice: index out of bounds' #14088
Comments
|
Do you have a link to the code that causes this? We're working on making a auto-reducer, and we're curious what happens to this! |
I wasn't quite ready to release the project now, but seeing how it now won't compile and an ICE is a serious bug, I'll try to push it out today. |
Here it is: https://github.com/Valloric/nailed Run |
Even easier, run |
That stack trace looks very similar to #13645. It may be the same problem. |
Minimized: #![crate_type = "lib"]
enum NodeContents<'a> {
Children(Vec<Node<'a>>),
}
struct Node<'a> {
contents: NodeContents<'a>,
}
impl<'a> Node<'a> {
fn noName(contents: NodeContents<'a>) -> Node<'a> {
Node{ contents: contents,}
}
} |
also includes a workaround for rust-lang/rust#14088.
also includes a workaround for rust-lang/rust#14088.
Any progress on this one? I can't move forward on my project until this is fixed, it's a hard blocker. |
Closing as a dupe of #13853 |
Updated minimal example
Original issue
Using latest rust-nightly, courtesy of
rustup.sh
. Including the full stacktrace below. I'd include the code that triggers this, but there's about 10 KLOC of it and I don't have a clue which part of it caused this. The code compiled just fine withrust-nightly - 201404300405~cbf1131~trusty
built on2014-04-30
.If there's any other info I can provide, please ask.
The text was updated successfully, but these errors were encountered: