-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 implementing Fn trait for unit struct #22603
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
Seems unrelated. In this case, it's trying to pass the arguments directly to the constructor |
dotdash
added
the
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
label
Feb 21, 2015
Triage: still ICEs with updated code. #![feature(unboxed_closures,core)]
pub struct Foo;
impl<A> FnOnce<(A,)> for Foo {
type Output = ();
extern "rust-call" fn call_once(self, (_,): (A,)) {
}
}
pub fn main() {
println!("{:?}", Foo("bar"));
} |
seems like more const trouble. |
Closed
Triage: tracked by glacier |
One more of those issues that's apparently not quite tracked by glacier... seems fixed on rustc 1.19.0-dev (7b5c3d2 2017-05-17). E-needstest. |
Mark-Simulacrum
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 19, 2017
MaloJaffre
added a commit
to MaloJaffre/rust
that referenced
this issue
Jun 18, 2017
Fixes rust-lang#11740. Fixes rust-lang#19601. Fixes rust-lang#22603 Fixes rust-lang#22789. Fixes rust-lang#26614. r? @Mark-Simulacrum.
Mark-Simulacrum
added a commit
to Mark-Simulacrum/rust
that referenced
this issue
Jun 18, 2017
Add tests for various issues Fixes rust-lang#11740. Fixes rust-lang#19601. Fixes rust-lang#22603 Fixes rust-lang#22789. Fixes rust-lang#26614. r? @Mark-Simulacrum.
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Jun 18, 2017
Add tests for various issues Fixes rust-lang#11740. Fixes rust-lang#19601. Fixes rust-lang#22603 Fixes rust-lang#22789. Fixes rust-lang#26614. r? @Mark-Simulacrum.
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) ❄️
The following programs generate the ICE with a slightly different message. May be related to #22565 and #22566
The text was updated successfully, but these errors were encountered: