You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn main(){
let line = std::old_io::stdin().read_line().ok().expect("Failed to read line");
let Result<value : u8,_> = line.parse();
println!("{}",value)
}
I expected it to compile or give me a helpful error message.
Instead, this happened:
t2.rs:4:7: 4:13 error: internal compiler error: ident only path should have been covered already
t2.rs:4 let Result<value : u8,_> = line.parse();
^~~~~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace thread 'rustc' panicked at 'Box<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129
I tried this code:
I expected it to compile or give me a helpful error message.
Instead, this happened:
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: