-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE fictitious type O in sizing_type_of() #17060
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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. |
# for free
to join this conversation on GitHub.
Already have an account?
# 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: