about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-01-30 22:00:36 +0000
committerbors <bors@rust-lang.org>2022-01-30 22:00:36 +0000
commit0ed8ca45f4180ad26cc42e6181ec47f86553f91b (patch)
treec72033466aa40542751e94ff29db5a9e088b39c2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent7ceffdee9bc8dc7b645cb1b91bec5df8a6716087 (diff)
parenta8fdf5ca8aab08ba56678a4bce36f9da5ae8e52d (diff)
downloadrust-0ed8ca45f4180ad26cc42e6181ec47f86553f91b.tar.gz
rust-0ed8ca45f4180ad26cc42e6181ec47f86553f91b.zip
Auto merge of #8322 - jubnzv:8282-single-match, r=llogiq
single_match: Don't lint non-exhaustive matches; support tuples

`single_match` lint:
* Don't lint exhaustive enum patterns without a wild.
  Rationale: The definition of the enum could be changed, so the user can get non-exhaustive match after applying the suggested lint (see https://github.com/rust-lang/rust-clippy/issues/8282#issuecomment-1013566068 for context).
* Lint `match` constructions with tuples (as suggested at https://github.com/rust-lang/rust-clippy/issues/8282#issuecomment-1015621148)

Closes #8282

---

changelog: [`single_match`]: Don't lint exhaustive enum patterns without a wild.
changelog: [`single_match`]: Lint `match` constructions with tuples
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions