diff options
| author | bors <bors@rust-lang.org> | 2020-09-08 21:34:55 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-08 21:34:55 +0000 |
| commit | 8b54f1e2d93c1dc43853578387fe1e1b7d58a3e6 (patch) | |
| tree | 3edc476a26a5c3c4240893d4643dd82f329a2dbd /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 8d6cf3a824852e59b98e2038bc574fce01108cf4 (diff) | |
| parent | 1d8ae3aa12567b8461436ac10ba9fc4da55adb29 (diff) | |
| download | rust-8b54f1e2d93c1dc43853578387fe1e1b7d58a3e6.tar.gz rust-8b54f1e2d93c1dc43853578387fe1e1b7d58a3e6.zip | |
Auto merge of #6016 - giraffate:restrict_same_item_push, r=ebroto
Restrict `same_item_push` to suppress false positives It only emits a lint when the pushed item is a literal, a constant and an immutable binding that are initialized with those, as discussed in https://github.com/rust-lang/rust-clippy/pull/5997#pullrequestreview-483005186. Fix https://github.com/rust-lang/rust-clippy/issues/5985 changelog: Restrict `same_item_push` to literals, constants and immutable bindings that are initialized with those. r? `@ebroto`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
