rust/tests
bors f5d429cd76 Auto merge of #5820 - ThibsG:FixSuspiciousArithmeticImpl, r=flip1995
Fix FP for `suspicious_arithmetic_impl` from `suspicious_trait_impl` …

As discussed in #3215, the `suspicious_trait_impl` lint causes too many false positives, as it is complex to find out if binary operations are suspicious or not.

This PR restricts the number of binary operations to at most one, otherwise we don't lint.
This can be seen as very conservative, but at least FP can be reduced to bare minimum.

Fixes: #3215

changelog: limit the `suspicious_arithmetic_impl` lint to one binop, to avoid many FPs
2020-07-26 19:48:17 +00:00
..
auxiliary
cargo Use current_dir instead of cargo_metadata 2020-02-10 16:42:50 +01:00
ui Auto merge of #5820 - ThibsG:FixSuspiciousArithmeticImpl, r=flip1995 2020-07-26 19:48:17 +00:00
ui-cargo Fix multiple_crate_versions error 2020-07-01 07:35:18 +02:00
ui-toml Add configurable threshold for type_repetition_in_bounds lint 2020-07-03 17:29:54 +02:00
compile-test.rs Update compile-test to follow new lint 2020-07-03 16:51:44 -07:00
dogfood.rs Fix error E0460 when compiled on Rustc repo 2020-02-09 19:02:27 +07:00
fmt.rs Apply review comments 2020-02-12 09:34:28 +01:00
integration.rs Explain panic on E0463 in integration tests 2020-04-13 22:12:57 +02:00
missing-test-files.rs
versioncheck.rs