rustc tried to unwrap None (only nightly) #60275
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While using the
rand
crate I accidentally misreadrand::random::<f64>()
asrand::random<f64>()
and the compiler responded with an error and also a panic.Meta
rustc --version --verbose
:(also fails on playground): https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=229b9583f1b448072b0a182bb75f7900
Backtrace:
The text was updated successfully, but these errors were encountered: