| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-08-12 | Replace the metadata collector with tests | Alex Macleod | -1/+1 | |
| 2024-08-06 | Auto merge of #12150 - ithinuel:add_misleading_use_of_ok, r=y21 | bors | -5/+5 | |
| Add lint for `unused_result_ok` This PR adds a lint to capture the use of `expr.ok();` when the result is not _really_ used. This could be interpreted as the result being checked (like it is with `unwrap()` or `expect`) but it actually only ignores the result. `let _ = expr;` expresses that intent better. This was also mentionned in #8994 (although not being the main topic of that issue). changelog: [`misleading_use_of_ok`]: Add new lint to capture `.ok();` when the result is not _really_ used. | ||||
| 2024-08-06 | Use `-D warnings` instead of `deny-warnings` feature. | Jason Newcomb | -2/+0 | |
| 2024-08-05 | Make `cargo dev deprecate` require a reason | Jason Newcomb | -9/+3 | |
| 2024-08-05 | Store deprecated lints as an array of tuples. | Jason Newcomb | -225/+97 | |
| Remove legacy deprecations. Remove "View Source" link for deprecated lints. | ||||
| 2024-07-29 | Remove some miscellaneous `#[allow]`s | Alex Macleod | -7/+0 | |
| 2024-07-29 | Add lint for `unused_result_ok` | Wilfried Chauveau | -5/+5 | |
| 2024-07-28 | Sort the config list using `dev fmt` | Jason Newcomb | -101/+291 | |
| 2024-07-17 | Refactor for using config values: | Jason Newcomb | -4/+4 | |
| * Construct lint passes by taking `Conf` by reference. * Use `HashSet` configs in less places * Move some `check_crate` code into the pass constructor when possible. | ||||
| 2024-06-21 | fix wrong msrv import in `new_lint` template | J-ZhengLi | -2/+2 | |
| 2024-05-30 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -1/+6 | |
| 2024-05-23 | For restriction lints, replace “Why is this bad?” with “Why restrict ↵ | Kevin Reid | -1/+6 | |
| this?” The `restriction` group contains many lints which are not about necessarily “bad” things, but style choices — perhaps even style choices which contradict conventional Rust style — or are otherwise very situational. This results in silly wording like “Why is this bad? It isn't, but ...”, which I’ve seen confuse a newcomer at least once. To improve this situation, this commit replaces the “Why is this bad?” section heading with “Why restrict this?”, for most, but not all, restriction lints. I left alone the ones whose placement in the restriction group is more incidental. In order to make this make sense, I had to remove the “It isn't, but” texts from the contents of the sections. Sometimes further changes were needed, or there were obvious fixes to make, and I went ahead and made those changes without attempting to split them into another commit, even though many of them are not strictly necessary for the “Why restrict this?” project. | ||||
| 2024-05-03 | Type safe CLI implementation for clippy-dev | Philipp Krones | -327/+263 | |
| Use the derive feature of `clap` to generate CLI of clippy-dev. Adding new commands will be easier in the future and we get better compile time checking through exhaustive matching. | ||||
| 2024-04-16 | Add `cargo dev setup toolchain` | Alex Macleod | -17/+117 | |
| 2024-04-01 | Set `RUSTC_ICE=0` in uitests and `cargo dev lint` | xFrednet | -0/+4 | |
| 2024-03-22 | Enable unused_qualifications lint | Alex Macleod | -4/+9 | |
| 2024-03-09 | Update `cargo dev update_lints` command to fix new warning emitted by ↵ | Guillaume Gomez | -0/+2 | |
| `duplicated_attributes` | ||||
| 2024-02-20 | Stabilize `LazyCell` and `LazyLock` (`lazy_cell`) | Peter Jaszkowiak | -1/+0 | |
| 2024-05-21 | Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into ↵ | Philipp Krones | -327/+263 | |
| clippy-subtree-update | ||||
| 2024-04-18 | Merge commit 'ca3b393750ee8d870bf3215dcf6509cafa5c0445' into ↵ | Philipp Krones | -17/+117 | |
| clippy-subtree-update | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -4/+13 | |
| clippy-subtree-update | ||||
| 2024-03-21 | Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into ↵ | Philipp Krones | -0/+2 | |
| clippy-subtree-update | ||||
| 2024-01-26 | Rollup merge of #120345 - flip1995:clippy-subtree-update, r=Manishearth | Matthias Krüger | -2/+1 | |
| Clippy subtree update r? `@Manishearth` Closes https://github.com/rust-lang/rust-clippy/issues/12148 | ||||
| 2024-01-25 | Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into ↵ | Philipp Krones | -2/+1 | |
| clippy-subtree-update | ||||
| 2024-01-25 | Rename the unescaping functions. | Nicholas Nethercote | -1/+1 | |
| `unescape_literal` becomes `unescape_unicode`, and `unescape_c_string` becomes `unescape_mixed`. Because rfc3349 will mean that C string literals will no longer be the only mixed utf8 literals. | ||||
| 2024-01-11 | Merge commit '26ac6aab023393c94edf42f38f6ad31196009643' | Philipp Krones | -1/+1 | |
| 2023-12-16 | Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup | Philipp Krones | -5/+9 | |
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -2/+2 | |
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -2/+2 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -4/+3 | |
| 2023-10-06 | Merge commit 'b105fb4c39bc1a010807a6c076193cef8d93c109' into clippyup | Philipp Krones | -12/+51 | |
| 2023-08-24 | Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup | Philipp Krones | -1/+0 | |
| 2023-08-11 | Merge commit '1e8fdf492808a25d78a97e1242b835ace9924e4d' into clippyup | Philipp Krones | -2/+2 | |
| 2023-07-31 | Merge commit '5436dba826191964ac1d0dab534b7eb6d4c878f6' into clippyup | Philipp Krones | -14/+6 | |
| 2023-07-17 | Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup | Philipp Krones | -4/+11 | |
| 2023-07-02 | Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup | Philipp Krones | -69/+24 | |
| 2023-06-02 | Merge commit '30448e8cf98d4754350db0c959644564f317bc0f' into clippyup | Philipp Krones | -1/+3 | |
| 2023-05-05 | Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup | Philipp Krones | -73/+19 | |
| 2023-04-23 | Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup | Philipp Krones | -1/+1 | |
| 2023-04-11 | Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup | Philipp Krones | -15/+8 | |
| 2023-03-29 | Stabilize a portion of 'once_cell' | Trevor Gross | -1/+0 | |
| Move items not part of this stabilization to 'lazy_cell' or 'once_cell_try' | ||||
| 2023-02-25 | Merge commit '149392b0baa4730c68f3c3eadf5c6ed7b16b85a4' into clippyup | Jason Newcomb | -7/+8 | |
| 2023-02-10 | Merge commit '0f7558148c22e53cd4608773b56cdfa50dcdeac3' into clippyup | Philipp Krones | -58/+69 | |
| 2023-01-12 | Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup | Philipp Krones | -0/+3 | |
| 2022-12-01 | Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup | Philipp Krones | -9/+7 | |
| 2022-11-25 | Rollup merge of #104873 - RalfJung:therefore, r=Dylan-DPC | Matthias Krüger | -1/+1 | |
| RefCell::get_mut: fix typo and fix the same typo in a bunch of other places | ||||
| 2022-11-25 | RefCell::get_mut: fix typo | Ralf Jung | -1/+1 | |
| and fix the same typo in a bunch of other places | ||||
| 2022-11-21 | Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup | Philipp Krones | -231/+84 | |
| 2022-10-23 | Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup | flip1995 | -19/+10 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -189/+144 | |
