diff options
| author | bors <bors@rust-lang.org> | 2020-08-12 17:00:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-12 17:00:48 +0000 |
| commit | 439bae62a48fee04b0655548d42e7076b6a5042f (patch) | |
| tree | e44332badffcfded9693f2ca20deb4b20c69b97d /src/test/codegen | |
| parent | c73cf9f38737f89cbbd001480327943302a66d5b (diff) | |
| parent | 7bd7a46331fbaa8b8ebbaacf178c988498df9f13 (diff) | |
| download | rust-439bae62a48fee04b0655548d42e7076b6a5042f.tar.gz rust-439bae62a48fee04b0655548d42e7076b6a5042f.zip | |
Auto merge of #5884 - Ryan1729:patch-1, r=flip1995
Add the other overloadable operations to suspicious_arithmetic_impl In #2268 I idly mused that the other user-overloadable operations could be added to this lint. Knowing that the lint was arguably incomplete was gnawing at the back of my mind, so I figured that I might as well make this PR, particularly given the change needed was so small. changelog: Start warning on suspicious implementations of the `BitAnd`, `BitOr`, `BitXor`, `Rem`, `Shl`, and `Shr` traits.
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
