diff options
| author | bors <bors@rust-lang.org> | 2022-01-30 22:00:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-01-30 22:00:36 +0000 |
| commit | 0ed8ca45f4180ad26cc42e6181ec47f86553f91b (patch) | |
| tree | c72033466aa40542751e94ff29db5a9e088b39c2 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 7ceffdee9bc8dc7b645cb1b91bec5df8a6716087 (diff) | |
| parent | a8fdf5ca8aab08ba56678a4bce36f9da5ae8e52d (diff) | |
| download | rust-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
