| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-01-13 | Rustup to rust-lang/rust#68045 | Yuki Okushi | -1/+1 | |
| 2020-01-11 | Rustup to rust-lang/rust#67806 | Yuki Okushi | -3/+2 | |
| 2020-01-07 | Normalize lint messages | Yuki Okushi | -1/+1 | |
| 2020-01-07 | Rustup to rust-lang/rust#67886 | Yuki Okushi | -1/+1 | |
| 2020-01-04 | Rustup to https://github.com/rust-lang/rust/pull/67853 | Philipp Hansch | -1/+1 | |
| Specifically caused by https://github.com/rust-lang/rust/pull/67786 | ||||
| 2019-12-27 | Rustup to rust-lang/rust#66936 | Yuki Okushi | -2/+2 | |
| 2019-12-22 | Fix `map_clone` false positive | Michael Wright | -2/+4 | |
| Don't lint when the item type is not a reference. `copied` only applies to references. | ||||
| 2019-12-04 | Rustup to rust-lang/rust#66878 | Matthias Krüger | -1/+2 | |
| 2019-09-27 | Rustup to rust-lang/rust#64813 | flip1995 | -6/+6 | |
| 2019-09-26 | Rustup https://github.com/rust-lang/rust/pull/64513 | Lzu Tao | -1/+1 | |
| 2019-08-28 | Replace `Arg` with `Param` | Yuki Okushi | -1/+1 | |
| 2019-08-19 | Remove in_macro_or_desugar | KRAAI, MATTHEW [VISUS] | -3/+2 | |
| 2019-05-17 | Prevent symbocalypse | Oliver Scherer | -2/+2 | |
| 2019-05-14 | Use symbols instead of strings | Oliver Scherer | -2/+2 | |
| 2019-05-11 | Rename in_macro to in_macro_or_desugar | Manish Goregaokar | -2/+3 | |
| 2019-04-28 | Suggest .copied() for map_clone on iterators too | Manish Goregaokar | -7/+4 | |
| 2019-04-17 | Use lint pass macros | Matthew Kraai | -14/+3 | |
| Fixes #3917. | ||||
| 2019-04-15 | Only suggest .copied() for Option right now | Manish Goregaokar | -5/+8 | |
| 2019-04-15 | Also suggest .copied() when .clone() is called on a Copy type | Manish Goregaokar | -3/+4 | |
| 2019-04-15 | Suggest .copied() instead of .cloned() in map_clone when dealing with references | Manish Goregaokar | -16/+31 | |
| 2019-03-05 | move lint documentation into macro invocations | Andy Russell | -22/+22 | |
| 2019-02-03 | Fix breakage due to rust-lang/rust#58079 | Michael Wright | -2/+2 | |
| The rustc change added HirId to a few nodes. As I understand it, the plan is to remove the NodeId from these nodes eventually. Where the NodeId was not being matched, I used `..` to try and avoid further breakage. Where it was, I used `_` to make the fix easier when NodeId is removed. | ||||
| 2019-01-27 | rustup https://github.com/rust-lang/rust/pull/57726 | Matthias Krüger | -0/+4 | |
| 2019-01-15 | Remove `map_clone` fixed known problem | Michael Wright | -3/+1 | |
| 2019-01-15 | Fix `map_clone` bad suggestion | Michael Wright | -21/+46 | |
| `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 #498 | ||||
| 2019-01-08 | Remove all copyright license headers | Philipp Hansch | -9/+0 | |
| Discussion previously happened in https://github.com/rust-lang/rust/pull/43498 | ||||
| 2018-12-29 | Remove crate:: prefixes from crate paths | Konrad Borowski | -6/+6 | |
| This is somewhat misleading, as those are actually external crates, and don't need a crate:: prefix. | ||||
| 2018-12-22 | Document map_clone known problems #498 | Vlad-Shcherbina | -1/+3 | |
| (cherry picked from commit ada0d2c54831a904a53ff4106e0ebb6a0f06a687) | ||||
| 2018-12-08 | rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() ) | Matthias Krüger | -1/+1 | |
| 2018-11-27 | Fix some formatting issues | flip1995 | -1/+1 | |
| 2018-11-27 | Run rustfmt on clippy_lints | flip1995 | -9/+24 | |
| 2018-11-27 | Add applicability level to (nearly) every span_lint_and_sugg function | flip1995 | -3/+4 | |
| 2018-11-27 | Add Applicability::Unspecified to span_lint_and_sugg functions | flip1995 | -6/+4 | |
| 2018-10-08 | Don't suggest cloned() for map Box deref | Ryan Cumming | -1/+1 | |
| Boxes are a bit magic in that they need to use `*` to get an owned value out of the box. They implement `Deref` but that only returns a reference. This means an easy way to convert an `Option<Box<T>>` to an `<Option<T>` is: ``` box_option.map(|b| *b) ``` However, since b36bb0a6 the `map_clone` lint is detecting this as an attempt to copy the box. Fix by excluding boxes completely from the deref part of this lint. Fixes #3274 | ||||
| 2018-10-06 | Add license header to Rust files | Manish Goregaokar | -0/+10 | |
| 2018-10-02 | Trailing newline | Oliver Schneider | -1/+1 | |
| 2018-10-02 | FIx dogfood | Oliver Schneider | -4/+2 | |
| 2018-10-02 | Reimplement the `map_clone` lint from scratch | Oliver Schneider | -0/+100 | |
| 2018-10-02 | relicensing: Remove map_clone | Manish Goregaokar | -140/+0 | |
| This removes the code added in https://github.com/rust-lang-nursery/rust-clippy/pull/427 | ||||
| 2018-09-15 | Reintroduce `extern crate` for non-Cargo dependencies. | Eduard-Mihai Burtescu | -5/+5 | |
| 2018-08-29 | Switch to declare_tool_lint macro | flip1995 | -1/+1 | |
| 2018-08-28 | Update imports and rustup | Oliver Schneider | -1/+1 | |
| 2018-08-22 | rustup, fix breakage introduced by https://github.com/rust-lang/rust/pull/53581 | Matthias Krüger | -1/+1 | |
| 2018-07-23 | Rustup | Oliver Schneider | -3/+3 | |
| 2018-07-20 | Remove import of if_chain | Manish Goregaokar | -0/+1 | |
| 2018-07-19 | Remove import of rustc | Manish Goregaokar | -0/+1 | |
| 2018-07-16 | ExprKind | csmoe | -6/+6 | |
| 2018-07-15 | Ignore spans when comparing expressions | Oliver Schneider | -5/+5 | |
| 2018-06-29 | Rustup | Mateusz Mikuła | -7/+7 | |
| 2018-06-25 | Resolve field, struct and function renaming | flip1995 | -1/+1 | |
| Addresses the errors produced by (re)moving, merging or renaming structs, fields and methods by rust-lang/rust#48149 and rust-lang/rust#51580 | ||||
