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>2023-01-06 18:55:20 +0000
committerbors <bors@rust-lang.org>2023-01-06 18:55:20 +0000
commit19b79c485e30f0fe3f782ad6138ace7db820f2c8 (patch)
tree3703f69790b5bb7d1bd479057f2b0c244d7a6892 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent3f0d0c1be708450001e6c5b9f5f80d276ce24b94 (diff)
parent1b9a25e28d76221ee9906b2c3ec833a9837d0349 (diff)
downloadrust-19b79c485e30f0fe3f782ad6138ace7db820f2c8.tar.gz
rust-19b79c485e30f0fe3f782ad6138ace7db820f2c8.zip
Auto merge of #10168 - blyxyas:fix_reversed_empty_ranges, r=dswij
[#10167] Clarify that the lint only works if x eq. y in a `for` loop.

Reading the documentation for the lint, one could expect that the lint works in all cases that `X == Y`. This is false.

While the lint was updated, the documentation wasn't.

More information about the `N..N` problem in #5689 and #5628

---

Fixes #10167
changelog: [`reversed_empty_ranges`]: Update and clarify documentation
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions