-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Compiler panic constructing Box<Fn(_)>
#40743
Labels
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
This is a regression in 1.17.0-beta. Earlier versions give:
|
This was referenced Mar 25, 2017
ICE: 'index out of bounds: the len is 10 but the index is 10', src/libcollections/vec.rs:1395
#40000
Closed
arielb1
added
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Mar 25, 2017
Duplicate of #40000. |
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
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This code:
Produces this internal compiler error:
Interestingly, changing
Box<Fn(_)>
toBox<Fn(&_)>
orBox<Fn(&i32)>
causes the code compile fine (modulo unused variable warnings).Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: