compiler panic on bad negative bound #58857
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This simple incorrect code makes the compiler to panic.
Bug on beta version. The stable version shows correctly a syntactic error.
Compiling playground v0.0.1 (/playground)
thread 'rustc' panicked at 'called
Option::unwrap()
on aNone
value', src/libcore/option.rs:345:21note: 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.34.0-beta.1 (744b374 2019-02-26) running on x86_64-unknown-linux-gnu
note: compiler flags: -C codegen-units=1 -C debuginfo=2 --crate-type lib
backtrace:
The text was updated successfully, but these errors were encountered: