about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-19 19:50:12 +0000
committerbors <bors@rust-lang.org>2020-10-19 19:50:12 +0000
commiteaffd0e41837dd952d0854a2f2aea35cccbb6319 (patch)
tree277f6fad86c12a549a46e96a1aba0952dafe0140 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent74530adcba45edbd99bb5a96b45fe2c8e12a31aa (diff)
parent16b5f37b5a23f475d0d94efea764c57e4572f63f (diff)
downloadrust-eaffd0e41837dd952d0854a2f2aea35cccbb6319.tar.gz
rust-eaffd0e41837dd952d0854a2f2aea35cccbb6319.zip
Auto merge of #6167 - ThibsG:IdenticalArgumentsAssertEq3574, r=ebroto
Identical arguments on assert macro family

Lint when identical args are used on `assert_eq!`, `debug_assert_eq!`, `assert_ne!` and `debug_assert_ne!` macros.

Added to the lint `eq_op`.

Common functions added to `utils/higher.rs`

Fixes: #3574
Fixes: #4694

changelog: Lint on identical args when calling `assert_eq!`, `debug_assert_eq!`, `assert_ne!` and `debug_assert_ne!` macros
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions