-
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: 'index out of bounds: the len is 10 but the index is 10', src/libcollections/vec.rs:1395 #40000
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Comments
For the reference, generated file: % cat target/debug/build/rust_ice-5cc359b860432322/out/codegen.rs
static KEYWORDS: phf::Map<&'static str, Handler> = ::phf::Map {
key: 1897749892740154578,
disps: ::phf::Slice::Static(&[
(0, 0),
]),
entries: ::phf::Slice::Static(&[
("help", hello as fn(_, _)),
]),
}; Replacing |
arielb1
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Feb 26, 2017
This is a regression in 1.17.0-beta. Earlier versions give:
The stacktrace looks a lot like #40743 and #40204 which have much simpler repros. |
arielb1
added
the
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
label
Mar 26, 2017
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Mar 26, 2017
The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes rust-lang#40000. Fixes rust-lang#40743.
bors
added a commit
that referenced
this issue
Mar 29, 2017
store a copy of the Issue32230 info within TypeError The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743. beta-nominating because regression. r? @nikomatsakis
alexcrichton
pushed a commit
to alexcrichton/rust
that referenced
this issue
Apr 1, 2017
The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes rust-lang#40000. Fixes rust-lang#40743.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
Rustc crashes on code that uses
phf
anddiscord
crates.I tried this code:
Cargo.toml:
(I was unable to reproduce this without discord crate so far)
main.rs:
build.rs:
I expected to see this happen: cargo build works
Instead, this happened:
Meta
rustc --version --verbose
:rustc 1.17.0-nightly (a17e5e2 2017-02-20)
binary: rustc
commit-hash: a17e5e2
commit-date: 2017-02-20
host: x86_64-apple-darwin
release: 1.17.0-nightly
LLVM version: 3.9
The text was updated successfully, but these errors were encountered: