Possible codegen regression when matching against nested enums #104519
Labels
C-bug
Category: This is a bug.
P-high
High priority
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.
Uh oh!
There was an error while loading. Please reload this page.
Code
I tried this code (reduced from a much larger test):
(playground)
I expected to see this happen: runs with 0 exit code and no output
Instead, this happened:
Version it worked on
This code works on stable and beta, and as recently as a3c0a02.
Version with regression
This reproduces with the 2022-11-16 nightly on the playground.
cargo-bisect-rustc
suggests this was introduced by #102872.@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: