Skip to content

Tags: 1tgr/rust-clippy

Tags

rust-1.34.0

Toggle rust-1.34.0's commit message
partially HirIdify lints

rust-1.33.0

Toggle rust-1.33.0's commit message
Auto merge of rust-lang#3662 - mikerite:fix-498, r=oli-obk

Fix `map_clone` bad suggestion

`cloned` requires that the elements of the iterator must be references. This
change determines if that is the case by examining the type of the closure
argument and suggesting `.cloned` only if it is a reference. When the closure
argument is not a reference, it suggests removing the `map` call instead.

A minor problem with this change is that the new check sometimes overlaps
with the `clone_on_copy` lint.

Fixes rust-lang#498

rust-1.32.0

Toggle rust-1.32.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request rust-lang#3459 from flip1995/sugg_appl

Add Applicability to suggestion lints: Take 2

rust-1.31.1

Toggle rust-1.31.1's commit message
Enable rustup clippy to refer to the correct documentation

rust-1.31.0

Toggle rust-1.31.0's commit message
Enable rustup clippy to refer to the correct documentation

rust-1.30.1

Toggle rust-1.30.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request rust-lang#3194 from flip1995/c_void

Fix c_void path

rust-1.30.0

Toggle rust-1.30.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request rust-lang#3194 from flip1995/c_void

Fix c_void path

rust-1.29.2

Toggle rust-1.29.2's commit message
Version checks are useless now that we ride the trains

rust-1.29.1

Toggle rust-1.29.1's commit message
Version checks are useless now that we ride the trains

rust-1.29.0

Toggle rust-1.29.0's commit message
Version checks are useless now that we ride the trains