-
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: unexpected panic in InferCtxt #28550
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
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
Reduced test case: // Using F directly causes it to compile.
struct A<F: FnOnce()>(F::Output);
struct B<F: FnOnce()>(A<F>);
// Removing Option causes it to compile.
fn foo<F: FnOnce()>(f: F) -> Option<B<F>> {
panic!()
}
fn main() {
|| foo(||());
} |
sanxiyn
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Sep 22, 2015
arielb1
added
the
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
label
Sep 24, 2015
This is a 1.3-1.4 regression. I accidentally caused it in 9b75a2b. |
arielb1
pushed a commit
to arielb1/rust
that referenced
this issue
Sep 24, 2015
triage: I-nominated |
alexcrichton
added
the
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
label
Sep 24, 2015
triage: P-medium |
bors
added a commit
that referenced
this issue
Oct 2, 2015
brson
pushed a commit
to brson/rust
that referenced
this issue
Oct 16, 2015
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) ❄️
P-medium
Medium priority
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.
Compiling the following code causes a panic:
Compiler output:
I compiled with
rustc main.rs
Meta
rustc 1.5.0-nightly (6e5a325 2015-09-19)
binary: rustc
commit-hash: 6e5a325
commit-date: 2015-09-19
host: x86_64-unknown-linux-gnu
release: 1.5.0-nightly
The text was updated successfully, but these errors were encountered: