diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-01 01:09:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 01:09:48 +0200 |
commit | bde3cbd8c3c2fa543db05716c72adbf10ccc28ac (patch) | |
tree | ff5fedf575c7e5d5f668ffe9ea2eaa68a9716ad2 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 07726e3bf2cd7840628b8e3e686a885e9fba26b8 (diff) | |
parent | b855308521a4d3c508a722e970c4de1829651232 (diff) | |
download | rust-bde3cbd8c3c2fa543db05716c72adbf10ccc28ac.tar.gz |
Rollup merge of #111023 - tmiasko:multi-variant-capture, r=compiler-errors
Test precise capture with a multi-variant enum and exhaustive patterns
Add test checking that it is possible to capture fields of a multi-variant enum, when remaining variants are visibly uninhabited (under the `exhaustive_patterns` feature gate).
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions