about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorflip1995 <philipp.krones@embecosm.com>2021-07-01 12:35:16 +0200
committerflip1995 <philipp.krones@embecosm.com>2021-07-01 12:38:30 +0200
commitfae7a09eea5644567ff7239abc3970d1e9a2d159 (patch)
tree98279d9bdb3909ffc426d20c9010d2abfdc149b3 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0ffba7a68442767cb9ddcc1cc4224d17800f7f63 (diff)
downloadrust-fae7a09eea5644567ff7239abc3970d1e9a2d159.tar.gz
rust-fae7a09eea5644567ff7239abc3970d1e9a2d159.zip
match_wildcard_for_single_variants: don't produce bad suggestion
This fixes a bug where match_wildcard_for_single_variants produced a
bad suggestion where besides the missing variant, one or more hidden
variants were left.

This also adds tests to the ui-tests match_wildcard_for_single_variants
and wildcard_enum_match_arm to make sure that the correct suggestion is
produced.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions