rust/tests
bors 746a0051c3 Auto merge of #7640 - kneasle:mut-key-false-positive, r=camsteffen
Improve accuracy of `mut_key`

Fixes #6745.

Whilst writing the tests for this, I noticed what I believe is a false negative (the code in `@xFrednet's` [comment](https://github.com/rust-lang/rust-clippy/issues/6745#issuecomment-909658267) doesn't trigger the lint).  Currently the tests contain a case for this (which is blatantly ignored), but I'm not at all sure how to implement this (since the lint currently behaves completely differently for ADTs).  I'm not sure what should be done - on the one hand the extra test cases are misleading, but on the other hand they don't cause much harm and would save effort for anyone fixing that false negative.

---

changelog: Improve accuracy of `clippy::mutable_key_type`.
2021-09-14 15:56:07 +00:00
..
cargo Use relative path for test builds 2021-09-08 14:07:03 -05:00
ui Fix FN for collections/smart ptrs in std 2021-09-14 16:51:09 +01:00
ui-cargo Auto merge of #7543 - DevinR528:disallowed-mod, r=Manishearth 2021-08-25 15:20:28 +00:00
ui-internal Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup 2021-07-29 12:16:06 +02:00
ui-toml Allow giving reasons for disallowed_methods 2021-09-08 21:12:02 -04:00
clippy.toml Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup 2021-06-03 08:41:37 +02:00
compile-test.rs Rename test_build_base to test 2021-09-08 14:07:03 -05:00
dogfood.rs Remove special dogfood target 2021-09-08 14:07:03 -05:00
fmt.rs Deny warnings in test modules 2021-09-08 08:21:06 -05:00
integration.rs Deny warnings in test modules 2021-09-08 08:21:06 -05:00
lint_message_convention.rs Deny warnings in test modules 2021-09-08 08:21:06 -05:00
missing-test-files.rs Deny warnings in test modules 2021-09-08 08:21:06 -05:00
versioncheck.rs Deny warnings in test modules 2021-09-08 08:21:06 -05:00