diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2021-09-08 12:24:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-08 12:24:19 -0400 |
| commit | f69ccb12e3d854955f075659742f259f55dac483 (patch) | |
| tree | 6cb4635c43cf1482824f80011bded1a44c8c14e9 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 2bbcf929c6cce88ae4b5be95dcf8d1e6aa25e7cf (diff) | |
| parent | 214eef043501a896ec375fc831891cf1dc09219f (diff) | |
| download | rust-f69ccb12e3d854955f075659742f259f55dac483.tar.gz rust-f69ccb12e3d854955f075659742f259f55dac483.zip | |
Rollup merge of #88691 - hyd-dev:88649, r=Mark-Simulacrum
Add a regression test for #88649
I noticed that #88649 does not have a regression test, so I add one in this PR.
The test fails with this without #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`.
```
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
