rust-clippy/tests
bors 4992548f28 Auto merge of #8271 - Jarcho:ptr_arg_214, r=flip1995
Check usages in `ptr_arg`

fixes #214
fixes #1981
fixes #3381
fixes #6406
fixes #6964

This does not take into account the return type of the function currently, so `(&Vec<_>) -> &Vec<_>` functions may still be false positives.

The name given for the type also has to match the real type name, so `type Foo = Vec<u32>` won't trigger the lint, but `type Vec = Vec<u32>` will. I'm not sure if this is the best way to handle this, or if a note about the actual type should be added instead.

changelog: Check if the argument is used in a way which requires the original type in `ptr_arg`
changelog: Lint mutable references in `ptr_arg`
2022-01-21 15:43:57 +00:00
..
test_utils Refactor test utils 2022-01-10 15:22:17 -06:00
ui Auto merge of #8271 - Jarcho:ptr_arg_214, r=flip1995 2022-01-21 15:43:57 +00:00
ui-cargo Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
ui-internal Merge remote-tracking branch 'upstream/master' into rustup 2022-01-13 12:47:48 +01:00
ui-toml Track msrv attribute for manual_bits and borrow_as_prt 2022-01-15 00:57:43 +01:00
ui_test Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup 2021-10-21 13:11:36 +02:00
workspace_test Move workspace test 2022-01-10 17:08:22 -06:00
clippy.toml Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup 2021-06-03 08:41:37 +02:00
compile-test.rs Remove __CLIPPY_INTERNAL_TESTS env var 2022-01-17 12:37:05 -06:00
dogfood.rs Merge dogfood tests 2022-01-10 17:08:22 -06:00
fmt.rs Remove rustfmt component check 2022-01-10 17:08:22 -06:00
integration.rs Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup 2021-09-28 18:03:12 +01:00
lint_message_convention.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
missing-test-files.rs Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup 2021-11-04 12:52:36 +00:00
versioncheck.rs Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup 2021-09-08 16:31:47 +02:00
workspace.rs Move workspace test 2022-01-10 17:08:22 -06:00