| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-02-15 | Only store a LocalDefId in hir::TraitItem. | Camille GILLOT | -3/+3 | |
| 2021-02-15 | Only store a LocalDefId in hir::Item. | Camille GILLOT | -2/+1 | |
| Items are guaranteed to be HIR owner. | ||||
| 2021-02-11 | Merge commit '70c0f90453701e7d6d9b99aaa1fc6a765937b736' into clippyup | flip1995 | -39/+207 | |
| 2021-02-09 | Rename HIR UnOp variants | Ömer Sinan Ağacan | -7/+7 | |
| This renames the variants in HIR UnOp from enum UnOp { UnDeref, UnNot, UnNeg, } to enum UnOp { Deref, Not, Neg, } Motivations: - This is more consistent with the rest of the code base where most enum variants don't have a prefix. - These variants are never used without the `UnOp` prefix so the extra `Un` prefix doesn't help with readability. E.g. we don't have any `UnDeref`s in the code, we only have `UnOp::UnDeref`. - MIR `UnOp` type variants don't have a prefix so this is more consistent with MIR types. - "un" prefix reads like "inverse" or "reverse", so as a beginner in rustc code base when I see "UnDeref" what comes to my mind is something like "&*" instead of just "*". | ||||
| 2021-02-03 | Suggest panic!("{}", ..) instead of panic!(..) clippy::expect_fun_call. | Mara Bos | -1/+1 | |
| 2021-01-30 | Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup | flip1995 | -54/+188 | |
| 2021-01-18 | Rollup merge of #81038 - flip1995:clippyup, r=Manishearth | Ashley Mannix | -1/+1 | |
| Update Clippy Biweekly Clippy update r? ``@Manishearth`` | ||||
| 2021-01-16 | Review changes | Jack Huey | -1/+1 | |
| 2021-01-15 | Merge commit '953f024793dab92745fee9cd2c4dee6a60451771' into clippyup | flip1995 | -1/+1 | |
| 2021-01-14 | Auto merge of #79328 - c410-f3r:hir-if, r=matthewjasper | bors | -0/+7 | |
| Reintroduce hir::ExprKind::If Basically copied and paste #59288/https://github.com/rust-lang/rust-clippy/pull/4080 with some modifications. The vast majority of tests were fixed and now there are only a few remaining. Since I am still unable to figure out the missing pieces, any help with the following list is welcome. - [ ] **Unnecessary `typeck` exception**: [Cheated on this one to make CI green.](https://github.com/rust-lang/rust/pull/79328/files#diff-3faee9ba23fc54a12b7c43364ba81f8c5660045c7e1d7989a02a0cee1c5b2051) - [x] **Incorrect span**: [Span should reference `then` and `else` separately.](https://github.com/rust-lang/rust/pull/79328/files#diff-cf2c46e82222ee4b1037a68fff8a1af3c4f1de7a6b3fd798aacbf3c0475abe3d) - [x] **New note regarding `assert!`**: [Modified but not "wrong". Maybe can be a good thing?](https://github.com/rust-lang/rust/pull/79328/files#diff-9e0d7c89ed0224e2b62060c957177c27db43c30dfe3c2974cb6b5091cda9cfb5) - [x] **Inverted report location**: [Modified but not "wrong". Locations were inverted.](https://github.com/rust-lang/rust/pull/79328/files#diff-f637ce7c1f68d523a165aa9651765df05e36c4d7d279194b1a6b28b48a323691) - [x] **`src/test/ui/point-to-type-err-cause-on-impl-trait-return.rs` has weird errors**: [Not sure why this is happening.](https://github.com/rust-lang/rust/pull/79328/files#diff-c823c09660f5b112f95e97e8ff71f1797b6c7f37dbb3d16f8e98bbaea8072e95) - [x] **Missing diagnostic**: [???](https://github.com/rust-lang/rust/pull/79328/files#diff-6b8ab09360d725ba4513933827f9796b42ff9522b0690f80b76de067143af2fc) | ||||
| 2021-01-12 | Separate out a `hir::Impl` struct | Joshua Nelson | -1/+1 | |
| This makes it possible to pass the `Impl` directly to functions, instead of having to pass each of the many fields one at a time. It also simplifies matches in many cases. | ||||
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -0/+7 | |
| 2020-12-20 | Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup | flip1995 | -51/+107 | |
| 2020-12-06 | Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup | flip1995 | -43/+36 | |
| 2020-11-23 | Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup | flip1995 | -183/+97 | |
| 2020-11-16 | clippy: fold by value | Bastian Kauschke | -2/+2 | |
| 2020-11-05 | Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup | flip1995 | -86/+237 | |
| 2020-10-26 | Remove lint from clippy | Nathan Whitaker | -56/+0 | |
| 2020-10-09 | Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup | flip1995 | -13/+11 | |
| 2020-10-06 | Fix tools | Matthew Jasper | -2/+4 | |
| 2020-09-24 | Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup | flip1995 | -132/+53 | |
| 2020-09-10 | Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup | flip1995 | -5/+5 | |
| 2020-09-04 | `ty.kind` -> `ty.kind()` in rustdoc and clippy | LeSeulArtichaut | -29/+29 | |
| 2020-08-28 | Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup | flip1995 | -96/+418 | |
| 2020-08-17 | clippy: support `QPath::LangItem` | David Wood | -1/+1 | |
| This commit updates clippy with the introduction of `QPath::LangItem` so that it still compiles. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2020-08-11 | Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup | flip1995 | -25/+42 | |
| 2020-07-27 | introduce PredicateAtom | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | this might be unqualified, but at least it's now quantified | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | clippy | Bastian Kauschke | -6/+3 | |
| 2020-07-26 | Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup | flip1995 | -3/+8 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -61/+67 | |
| 2020-07-14 | Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup | flip1995 | -26/+13 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -132/+98 | |
| 2020-07-02 | rustc_lint: avoid using TypeckTables::empty for LateContext. | Eduard-Mihai Burtescu | -5/+5 | |
| 2020-06-26 | rustc_lint: only query `typeck_tables_of` when a lint needs it. | Eduard-Mihai Burtescu | -62/+65 | |
| 2020-06-10 | Update Clippy for MethodCall changes | Aaron Hill | -8/+8 | |
| 2020-06-09 | Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy | Lzu Tao | -32/+148 | |
| 2020-05-28 | Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 | flip1995 | -11/+23 | |
| 2020-05-20 | introduce newtype'd `Predicate<'tcx>` | Bastian Kauschke | -3/+3 | |
| 2020-05-20 | rename `Predicate` to `PredicateKind`, introduce alias | Bastian Kauschke | -2/+2 | |
| 2020-05-17 | Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup | flip1995 | -226/+412 | |
| 2020-04-29 | Fixed incorrect suggestion of `clone_double_ref` lint | CrazyRoka | -2/+2 | |
| - Added `<_>` to suggestion - Changed help message | ||||
| 2020-04-26 | cargo dev fmt | Philipp Hansch | -5/+6 | |
| 2020-04-26 | More diagnostic items | Philipp Hansch | -18/+24 | |
| In particular for: * `VecDeque` * `String` * `Mutex` * `HashMap` * `HashSet` cc https://github.com/rust-lang/rust/pull/71414 https://github.com/rust-lang/rust-clippy/issues/5393 | ||||
| 2020-04-18 | Change note_span argument for span_lint_and_note. | xiongmao86 | -3/+3 | |
| 2020-04-18 | Add an Option<Span> argument to span_lint_and_help. | xiongmao86 | -6/+13 | |
| 2020-04-17 | Cleanup: Rename 'db' variable to 'diag' | Philipp Hansch | -13/+13 | |
| 2020-04-16 | Lint map_flatten if caller is an Option | Marcin Serwin | -1/+19 | |
| 2020-04-14 | Auto merge of #5449 - phansch:diagnostic-items, r=matthiaskrgr | bors | -22/+19 | |
| Make use of more diagnostic items This makes use of some (not all) already existing diagnostic items. Specifically: * 79982a2: `core::mem::uninitialized`, `core::mem::zeroed`, `alloc::sync::Arc`, `alloc::sync::Rc` * 83874d0: `Option` and `Result` cc #5393 changelog: none | ||||
| 2020-04-14 | Auto merge of #5457 - phansch:sym, r=matthiaskrgr | bors | -5/+5 | |
| Cleanup: Use our `sym!` macro more It's much shorter than Symbol::intern and the effect should still be clear --- changelog: none | ||||
