-
Notifications
You must be signed in to change notification settings - Fork 13.3k
internal compiler error on reading stdin: panicked at Box<Any> #22589
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
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
Can’t reproduce:
|
There was a problem pasting the code, here's the real one:
|
edwardw
added a commit
to edwardw/rust
that referenced
this issue
Feb 23, 2015
Closes rust-lang#22426 Closes rust-lang#22589 Closes rust-lang#22665 Closes rust-lang#22712
edwardw
added a commit
to edwardw/rust
that referenced
this issue
Feb 24, 2015
Closes rust-lang#22589 Closes rust-lang#22647 Closes rust-lang#22665 Closes rust-lang#22712
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 24, 2015
…-a-bar, r=nick29581 Closes rust-lang#22589 Closes rust-lang#22647 Closes rust-lang#22665 Closes rust-lang#22712
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, this is not syntactically correct, but compiler should not panick
Using rustc 1.0.0-nightly (522d09d 2015-02-19) (built 2015-02-19)
use std::old_io;
fn main()
{
let s = old_io::stdin().read_line().ok().expect("");
if let Result<n2,_> = s.trim().parse() {};
}
The text was updated successfully, but these errors were encountered: