| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-07 | Deprecate redundant lint `option_map_or_err_ok` and take `manual_ok_or` out ↵ | dswij | -0/+2 | |
| of pedantic (#14027) While extending the `option_map_or_err_ok` lint (warn by default, "style") to recognize η-expanded forms of `Ok`, as in ```rust // Should suggest `opt.ok_or("foobar")` let _ = opt.map_or(Err("foobar"), |x| Ok(x)); ``` I discovered that the `manual_ok_or` lint (allow by default, "pedantic") already covered exactly the cases handled by `option_map_or_err_ok`, including the one I was adding. Apparently, `option_map_or_err_ok` was added without realizing that the lint already existed under the `manual_ok_or` name. As a matter of fact, artifacts of this second lint were even present in the first lint `stderr` file and went unnoticed for more than a year. This PR: - deprecates `option_map_or_err_ok` with a message saying to use `manual_ok_or` - moves `manual_ok_or` from "pedantic" to "style" (the category in which `option_map_or_err_ok` was) In addition, I think that this lint, which is short, machine applicable, and leads to shorter and clearer code with less arguments (`Ok` disappears) and the removal of one level of call (`Err(x)` is replaced by `x`), is a reason by itself to be in "style". changelog: [`option_map_or_err_ok` and `manual_ok_or`]: move `manual_ok_or` from "pedantic" to "style", and deprecate the redundant style lint `option_map_or_err_ok`. | ||||
| 2025-01-26 | remove `clippy::double_neg` | Kalle Wachsmuth | -0/+2 | |
| 2025-01-23 | Deprecate the `option_map_or_err_ok` lint | Samuel Tardieu | -0/+2 | |
| 2024-12-02 | Drop uplifted `clippy::fn_address_comparisons` | Urgau | -0/+2 | |
| 2024-10-28 | New lint: `dangling_pointers_from_temporaries` | Pavel Grigorenko | -1/+1 | |
| 2024-08-08 | Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into ↵ | Philipp Krones | -228/+166 | |
| clippy-subtree-update | ||||
| 2024-06-13 | Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into ↵ | Philipp Krones | -0/+26 | |
| clippy-subtree-update | ||||
| 2022-06-30 | Merge commit '0cb0f7636851f9fcc57085cf80197a2ef6db098f' into clippyup | Philipp Krones | -5/+10 | |
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -1/+0 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+16 | |
| 2021-11-04 | Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup | flip1995 | -0/+3 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -32/+64 | |
| 2021-07-01 | Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup | flip1995 | -2/+2 | |
| 2021-06-03 | Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup | flip1995 | -0/+19 | |
| 2021-05-20 | Merge commit '9e3cd88718cd1912a515d26dbd9c4019fd5a9577' into clippyup | flip1995 | -2/+9 | |
| 2021-04-22 | Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup | flip1995 | -61/+7 | |
| 2021-01-30 | Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup | flip1995 | -0/+9 | |
| 2021-01-16 | Deprecate unknown_clippy_lints | flip1995 | -0/+13 | |
| This is now handled by unknown_lints | ||||
| 2020-12-06 | Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup | flip1995 | -20/+0 | |
| 2020-11-23 | Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup | flip1995 | -0/+5 | |
| 2020-10-28 | Merge commit '645ef505da378b6f810b1567806d1bcc2856395f' into clippyup | Eduardo Broto | -0/+9 | |
| 2020-10-02 | Deprecate clippy lint | Michael Howell | -0/+9 | |
| 2020-07-26 | Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup | flip1995 | -1/+1 | |
| 2020-07-14 | Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup | flip1995 | -1/+9 | |
| 2020-03-29 | Deprecate REPLACE_CONSTS lint | Lzu Tao | -0/+8 | |
| 2019-12-21 | Deprecate unused_label lint | flip1995 | -0/+9 | |
| This lint was uplifted/turned into warn-by-default in rustc | ||||
| 2019-11-07 | Auto merge of #4757 - evanjs:issue/4748, r=phansch | bors | -62/+61 | |
| Fix Deprecated lints don't expand ### Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py ### fixes #4748 Unable to `cargo test` locally (I'm on NixOS, and keep getting errors that are similar to those #4714 might solve) but I have verified that all deprecated lints can now be expanded like other lints.  changelog: Show deprecated lints in lint documentation again | ||||
| 2019-11-07 | Deprecate `into_iter_on_array` lint | flip1995 | -0/+9 | |
| This lint was uplifted/reimplemented by rustc. Rustup to rust-lang/rust#66017 | ||||
| 2019-11-02 | deprecated_lints: re-fix ASSIGN_OPS lint doc-comment | Evan Stoll | -5/+5 | |
| 2019-11-02 | deprecated_lints: align doc comment indents with `pub LINT_NAME` | Evan Stoll | -56/+56 | |
| 2019-11-02 | deprecated_lints: remove extraneous `declare_deprecated_lint` | Evan Stoll | -1/+0 | |
| 2019-10-30 | Fix #4748 - Deprecated lints don't expand | Evan Stoll | -13/+13 | |
| - Move doc comments inside of declare_deprecated_lint macros so that they are picked up by lintlib.py | ||||
| 2019-08-14 | Deprecate unused_collect lint | Philipp Hansch | -0/+8 | |
| I found this because we only had two test cases in total for this lint. It turns out the functionality is fully covered by rustc these days. [Playground Examples](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=eb8ee6db389c77180c9fb152d3c608f4) changelog: Deprecate `unused_collect` lint. This is fully covered by rustc's `#[must_use]` on `collect` cc #2846 | ||||
| 2019-08-12 | Fix invalid_ref deprecation | Philipp Hansch | -1/+1 | |
| 2019-08-11 | deprecate invalid_ref lint | Ralf Jung | -0/+9 | |
| 2019-03-10 | Various cosmetic improvements. | Alexander Regueiro | -1/+1 | |
| 2019-01-08 | Remove all copyright license headers | Philipp Hansch | -10/+0 | |
| Discussion previously happened in https://github.com/rust-lang/rust/pull/43498 | ||||
| 2018-12-03 | Remove unsafe_vector_initialization lint | David Tolnay | -0/+11 | |
| 2018-10-17 | Rename if_let_redundant_pattern_matching to redundant_pattern_matching | CYBAI | -1/+11 | |
| Also, making the old one deprecated | ||||
| 2018-10-06 | Add license header to Rust files | Manish Goregaokar | -0/+10 | |
| 2018-08-13 | deprecate assign_ops lint | Jonathan Goodman | -0/+10 | |
| 2018-04-11 | Deprecate misaligned_transmute | Devon Hollowood | -0/+11 | |
| 2017-10-19 | Deprecate should_assert_eq lint | cgm616 | -0/+8 | |
| This should close #2090. | ||||
| 2017-06-18 | Replace `Range::step_by` checking with `Iterator::step_by` | Oliver Schneider | -0/+10 | |
| 2017-01-14 | deprecate extend_from_slice lint | Andre Bogus | -0/+11 | |
| 2016-05-27 | split clippy into lints, plugin and cargo-clippy | Oliver Schneider | -0/+44 | |
