summaryrefslogtreecommitdiff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2023-04-30 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2023-04-30 20:24:10 +0200
commitb855308521a4d3c508a722e970c4de1829651232 (patch)
tree8a694916820df1ef20d2aca47e8dfd505aab2586 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent831c9298c8e6542e3ab395216e98aec21f60b470 (diff)
downloadrust-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