about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/counters.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-24 20:58:58 +0000
committerbors <bors@rust-lang.org>2023-09-24 20:58:58 +0000
commitaa137a7e5705a915ebce592d9476f5dc7d7e5d81 (patch)
treee54cb93d1b9755b007c162d2342671987b2dd84c /compiler/rustc_mir_transform/src/coverage/counters.rs
parent94fc43121fb9a0b3cbb1a70f3063cc131ee12cd0 (diff)
parent0433e458dadc927e645f6307c0253a4b241dfd5b (diff)
downloadrust-aa137a7e5705a915ebce592d9476f5dc7d7e5d81.tar.gz
rust-aa137a7e5705a915ebce592d9476f5dc7d7e5d81.zip
Auto merge of #11552 - jonboh:ice_threshold_0_enum_variants, r=y21
prevent ice when threshold is 0 and enum has no variants

changelog: [`enum_variant_names`]: prevent ice when threshold is 0 and enum has no variants

r? `@y21`

Fixes the same ice issue raised during review of https://github.com/rust-lang/rust-clippy/pull/11496
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions