Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#88691 - hyd-dev:88649, r=Mark-Simulacrum
Add a regression test for rust-lang#88649 I noticed that rust-lang#88649 does not have a regression test, so I add one in this PR. The test fails with this without rust-lang#88678: ``` error[E0080]: evaluation of constant value failed --> /checkout/src/test/ui/consts/issue-88649.rs:13:52 | LL | Foo::Variant1(x) | Foo::Variant2(x) if x => {} | ^ StorageLive on a local that was already live error: aborting due to previous error For more information about this error, try `rustc --explain E0080`. ```
- Loading branch information