diff options
author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-04-30 00:00:00 +0000 |
---|---|---|
committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2023-04-30 20:24:10 +0200 |
commit | b855308521a4d3c508a722e970c4de1829651232 (patch) | |
tree | 8a694916820df1ef20d2aca47e8dfd505aab2586 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
parent | 831c9298c8e6542e3ab395216e98aec21f60b470 (diff) | |
download | rust-b855308521a4d3c508a722e970c4de1829651232.tar.gz |
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