Closed
Description
Given main.rs:
fn main() {
std::mem::size_of::<i32> >= 0
}
$ rustc main.rs
thread 'rustc' panicked at 'called Option::unwrap()
on a None
value', src/libcore/option.rs:347:21
note: Run with RUST_BACKTRACE=1
environment variable to display a backtrace.
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: rustc 1.36.0-nightly (3c3d3c1 2019-04-17) running on x86_64-apple-darwin
Metadata
Metadata
Assignees
Labels
No labels