-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 fictitious type O in sizing_type_of() #17060
Labels
A-closures
Area: Closures (`|…| { … }`)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Much more minimal example:
|
Even smaller: fn main(){
fn bar<'a, T:'a> (t: T) -> Box<FnOnce<(),T> + 'a> {
box move |:| t
}
bar(());
} It looks like the |
This looks to be the same as #16791 |
Thanks @bkoropoff! Closing as a dupe. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-closures
Area: Closures (`|…| { … }`)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
on Linux x86 with rustc 0.12.0-pre (38eb0e5 2014-09-06 21:46:25 +0000)
trying to compile this code
recieved this output :
with trace
The text was updated successfully, but these errors were encountered: