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-10-31 00:28:59 +0000
committerbors <bors@rust-lang.org>2022-10-31 00:28:59 +0000
commit37d338c1efd7840fa96c5eaeaa5785094efdab07 (patch)
treee4bd279df1ba7588c6bdb59f315879c836f07bb7 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent60d171873a761feeb2270be248a944a65fa658aa (diff)
parent151395d74e703600a724ecfc219c3f0fb1fe384a (diff)
downloadrust-37d338c1efd7840fa96c5eaeaa5785094efdab07.tar.gz
rust-37d338c1efd7840fa96c5eaeaa5785094efdab07.zip
Auto merge of #9506 - blyxyas:master, r=giraffate
Add lint for confusing use of `^` instead of `.pow`

fixes #4205
Adds a lint named [`confusing_xor_and_pow`], it warns the user when `a ^ b` is used as the `.pow()` function, it doesn't warn for Hex, Binary... etc.

---

changelog: New lint: [`confusing_xor_and_pow`]
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions