ICE: deconstructing a pattern with multiple variable bindings of OR'ed strings. #97898
Labels
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
This ICE triggers for the following code, in which the pattern involves two variable bindings, each for two strings OR'ed together:
If you put them all on a single line as follows, then the code compiles fine:
In addition, without the variable bindings, the code also compiles fine:
Meta
rustc --version --verbose
:rustc --nightly --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: