-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: drop_ty_immediate: non-box ty #8051
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
Comments
I hit this this weekend on this exact case. But i also hit it a few other times when I wasn't using Timer. nominating production ready. this really sucks because the error is bad an you have no idea what you did wrong. |
I presume this is the same problem as #7672. |
I hit this bug as well when using Timer. |
Code bellow works. I wonder wether this worth's ICEing ? After some more digging, use std::rt::rtio::RtioTimer;
use std::rt::io::Timer;
fn main() {
let maybe_timer = Timer::new();
let mut t = maybe_timer.expect("Expected a timer");
t.sleep(1000);
} |
Accepted for production-ready |
Closing as duplicate of #7672. I can confirm that my fix for that bug fixes this. |
The following code (as of commit 0012b50) gives an internal compiler error
drop_ty_immediate: non-box ty
.The text was updated successfully, but these errors were encountered: