Closed
Description
When I compile the following program in the Rust playpen:
fn main() { std::f64::NAN; }
I get the following message:
<anon>:1:13: 1:27 warning: path statement with no effect, #[warn(path_statements)] on by default
<anon>:1 fn main() { std::f64::NAN; }
^~~~~~~~~~~~~~
error: internal compiler error: unexpected panic
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 'assertion failed: type_is_zero_size(bcx.ccx(), bcx.tcx().node_id_to_type(expr.id))', ../src/librustc_trans/trans/expr.rs:160
note: Run with `RUST_BACKTRACE=1` for a backtrace.
playpen: application terminated with error code 101