-
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
Random ICE when playing with match #25579
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Minified: enum Sexpression {
Num(()),
Cons(&'static mut Sexpression)
}
fn causes_ice(mut l: &mut Sexpression)
{
loop { match l {
&mut Sexpression::Num(ref mut n) => {},
&mut Sexpression::Cons(ref mut expr) => {
l = &mut **expr;
}
}}
}
fn main() {
} Backtrace (this is a relatively old rustc 7bd7163 2015-05-06, but playpen also crashes):
|
steveklabnik
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
May 18, 2015
Closed
Neither test case appears to cause an ICE anymore. |
apasel422
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
May 26, 2016
imjacobclark
added a commit
to imjacobclark/rust
that referenced
this issue
Jun 7, 2016
Added a test case in PR #34136 |
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Jun 8, 2016
…=nikomatsakis Test case for borrowk ICE rust-lang#25579 r? @nikomatsakis Fixes rust-lang#25579
sanxiyn
added a commit
to sanxiyn/rust
that referenced
this issue
Jun 10, 2016
…=nikomatsakis Test case for borrowk ICE rust-lang#25579 r? @nikomatsakis Fixes rust-lang#25579
sanxiyn
added a commit
to sanxiyn/rust
that referenced
this issue
Jun 10, 2016
…=nikomatsakis Test case for borrowk ICE rust-lang#25579 r? @nikomatsakis Fixes rust-lang#25579
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
On Rust 1.0
The text was updated successfully, but these errors were encountered: