"or-patterns should have already been handled" when using feature(or_patterns) #72680
Labels
A-patterns
Relating to patterns and pattern matching
C-bug
Category: This is a bug.
F-or_patterns
`#![feature(or_patterns)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
When using the
or_patterns
feature, attempting to match on a tuple creates a compiler panic.The following code causes the panic.
(Also available at the playground)
This occurs both on the playground and on my local machine on a previous version (details below).
Meta
Rust version from the playground:
Local version:
Playground backtrace:
Local backtrace:
EDIT: Added local machine backtrace too
The text was updated successfully, but these errors were encountered: