ICE: match pairs remaining after simplifying irrefutable pattern #47096
Labels
A-slice-patterns
Area: Slice patterns, https://github.com/rust-lang/rust/issues/23121
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Irrefutable slice patterns with a
binding..
may cause the compiler to ICE.I expected to see this happen: the code compiled (however silly this example is)
Instead, this happened:
Meta
rustc --version --verbose
:rustc 1.24.0-nightly (3f916bd 2017-12-30)
binary: rustc
commit-hash: 3f916bd
commit-date: 2017-12-30
host: x86_64-unknown-linux-gnu
release: 1.24.0-nightly
LLVM version: 4.0
Backtrace:
The text was updated successfully, but these errors were encountered: