rust/tests
bors d5223be2e3 Auto merge of #6601 - mdm:fix-unit-args-false-positive, r=camsteffen
Fix false positive for unit_arg lint

Fixes #6447

To avoid false positives don't complain about unit args when they come from a path expression, e.g. a local variable.

**Note:** This is my first contribution to Clippy, so I might have messed up somewhere. Any feedback is welcome and I'm happy to work out any kinks.

---

changelog: Do not lint unit arguments when they come from a path expression.
2021-02-25 21:16:02 +00:00
..
auxiliary
cargo Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup 2020-10-09 12:45:29 +02:00
ui Auto merge of #6601 - mdm:fix-unit-args-false-positive, r=camsteffen 2021-02-25 21:16:02 +00:00
ui-cargo Add back publish = false to the old test. 2021-02-06 17:52:41 +01:00
ui-internal Move declare_clippy_lint back into clippy_lints 2021-02-23 18:50:30 -05:00
ui-toml upper_case_acronyms: add io-toml tests and bless previous tests 2021-02-24 23:50:55 +01:00
compile-test.rs Upgrade compiletest-rs to 0.6 and tester to 0.9 2021-02-15 20:13:44 +01:00
dogfood.rs Special sync of 'e89801553ddbaccdeb2eac4db08900edb51ac7ff' 2020-12-23 10:57:35 +01:00
fmt.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
integration.rs Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup 2020-12-20 17:19:49 +01:00
missing-test-files.rs Fix/allow non_fmt_panic in clippy tests. 2021-02-03 23:15:51 +01:00
versioncheck.rs Fix versioncheck test 2021-02-23 18:50:30 -05:00