| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2024-04-01 | fix fallout from previous commit | y21 | -1/+1 | |
| 2023-11-25 | Use absolute path for `declare_tool_lint` in `declare_clippy_lint` | Alex Macleod | -1/+1 | |
| 2023-07-14 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -6/+6 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -4/+1 | |
| 2022-09-23 | Apply uninlined_format-args to clippy_lints | Yuri Astrakhan | -4/+1 | |
| This change is needed for the uninlined_format-args lint to be merged. See https://github.com/rust-lang/rust-clippy/pull/9233 | ||||
| 2022-06-04 | Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup | Philipp Krones | -2/+5 | |
| 2022-06-01 | Combine doc examples | Serial | -2/+5 | |
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -1/+1 | |
| 2022-05-13 | Tweak some words improved representation | ydah | -1/+1 | |
| This PR has implemented improved representation. - Use "lib" instead of "lifb" - Use "triggered" instead of "triggere" - Use "blacklisted_name" instead of "blackisted_name" - Use "stabilization" instead of "stabilisation" - Use "behavior" instead of "behaviour" - Use "target" instead of "tartet" - Use "checked_add" instead of "chcked_add" - Use "anti-pattern" instead of "antipattern" - Use "suggestion" instead of "suggesttion" - Use "example" instead of "exampel" - Use "Cheat Sheet" instead of "Cheatsheet" | ||||
| 2022-01-27 | Merge remote-tracking branch 'upstream/master' into rustup | flip1995 | -4/+0 | |
| 2022-01-16 | Fix Visitor::NestedFilter in Clippy | Cameron Steffen | -5/+5 | |
| 2022-01-13 | Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup | flip1995 | -19/+23 | |
| 2022-01-04 | New macro utils | bors | -19/+23 | |
| changelog: none Sorry, this is a big one. A lot of interrelated changes and I wanted to put the new utils to use to make sure they are somewhat battle-tested. We may want to divide some of the lint-specific refactoring commits into batches for smaller reviewing tasks. I could also split into more PRs. Introduces a bunch of new utils at `clippy_utils::macros::...`. Please read through the docs and give any feedback! I'm happy to introduce `MacroCall` and various functions to retrieve an instance. It feels like the missing puzzle piece. I'm also introducing `ExpnId` from rustc as "useful for Clippy too". `@rust-lang/clippy` Fixes #7843 by not parsing every node of macro implementations, at least the major offenders. I probably want to get rid of `is_expn_of` at some point. | ||||
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+1 | |
| 2021-11-10 | Added `clippy::version` attribute to all normal lints | xFrednet | -0/+1 | |
| So, some context for this, well, more a story. I'm not used to scripting, I've never really scripted anything, even if it's a valuable skill. I just never really needed it. Now, `@flip1995` correctly suggested using a script for this in `rust-clippy#7813`... And I decided to write a script using nushell because why not? This was a mistake... I spend way more time on this than I would like to admit. It has definitely been more than 4 hours. It shouldn't take that long, but me being new to scripting and nushell just wasn't a good mixture... Anyway, here is the script that creates another script which adds the versions. Fun... Just execute this on the `gh-pages` branch and the resulting `replacer.sh` in `clippy_lints` and it should all work. ```nu mv v0.0.212 rust-1.00.0; mv beta rust-1.57.0; mv master rust-1.58.0; let paths = (open ./rust-1.58.0/lints.json | select id id_span | flatten | select id path); let versions = ( ls | where name =~ "rust-" | select name | format {name}/lints.json | each { open $it | select id | insert version $it | str substring "5,11" version} | group-by id | rotate counter-clockwise id version | update version {get version | first 1} | flatten | select id version); $paths | each { |row| let version = ($versions | where id == ($row.id) | format {version}) let idu = ($row.id | str upcase) $"sed -i '0,/($idu),/{s/pub ($idu),/#[clippy::version = "($version)"]\n pub ($idu),/}' ($row.path)" } | str collect ";" | str find-replace --all '1.00.0' 'pre 1.29.0' | save "replacer.sh"; ``` And this still has some problems, but at this point I just want to be done -.- | ||||
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -5/+5 | |
| 2021-07-28 | Update lint documentation to use markdown headlines | xFrednet | -5/+5 | |
| 2021-06-03 | Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup | flip1995 | -1/+1 | |
| 2021-05-25 | Add semicolons up to `needless_for_each.rs` | mbartlett21 | -1/+1 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -1/+2 | |
| 2021-03-17 | Don't re-export clippy_utils::* | Cameron Steffen | -1/+1 | |
| 2021-03-15 | Don't re-export clippy_utils::diagnostics::* | Cameron Steffen | -1/+2 | |
| 2021-03-12 | Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup | flip1995 | -5/+1 | |
| 2021-03-01 | Add version = "Two" to rustfmt.toml | Cameron Steffen | -5/+1 | |
| Ignore UI tests since this change makes rustfmt less friendly with UI test comments. | ||||
| 2021-01-07 | Reintroduce hir::ExprKind::If | Caio | -0/+4 | |
| 2020-10-23 | Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup | Eduardo Broto | -55/+11 | |
| 2020-10-17 | Assert macro args extractor as a common function in higher | ThibsG | -55/+11 | |
| 2020-09-04 | `ty.kind` -> `ty.kind()` in rustdoc and clippy | LeSeulArtichaut | -1/+1 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -1/+1 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -5/+5 | |
| 2020-06-26 | rustc_lint: only query `typeck_tables_of` when a lint needs it. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-04-08 | Move cognitive_complexity to nursery | David Tolnay | -1/+0 | |
| 2020-03-30 | rustup https://github.com/rust-lang/rust/pull/70536 | Matthias Krüger | -2/+2 | |
| 2020-03-25 | Remove dependency on `matches` crate | Philipp Hansch | -1/+0 | |
| The std equivalent works exactly the same. | ||||
| 2020-03-16 | rustup https://github.com/rust-lang/rust/pull/68944 | Matthias Krüger | -2/+2 | |
| 2020-01-31 | Move debug_assertions_with_mut_call to nursery | flip1995 | -1/+1 | |
| 2020-01-31 | Don't trigger `debug_assert_with_mut_call` on `.await` | flip1995 | -1/+3 | |
| 2020-01-31 | Small refactor of mutable_debug_assertions | flip1995 | -24/+24 | |
| 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/+3 | |
| 2020-01-09 | Rustup to rust-lang/rust#67979 | Yuki Okushi | -2/+5 | |
| 2020-01-07 | Rustup to rust-lang/rust#67886 | Yuki Okushi | -1/+1 | |
| 2019-12-31 | Rustup to rust-lang/rust#67707 | Yuki Okushi | -1/+1 | |
| 2019-12-27 | Rustup to rust-lang/rust#66936 | Yuki Okushi | -3/+3 | |
| 2019-12-21 | rustup "Merge `ast::Mutability` and `mir::Mutability`" | Lzu Tao | -2/+2 | |
| 2019-12-04 | Rustup to rust-lang/rust#66878 | Matthias Krüger | -1/+2 | |
| 2019-11-27 | Add BorrowKind::Ref | Manish Goregaokar | -4/+4 | |
| 2019-11-25 | Rustup to rust-lang/rust#66671 | flip1995 | -3/+3 | |
| 2019-11-11 | MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureBy | Manish Goregaokar | -2/+2 | |
| 2019-10-22 | Add lint for debug_assert_with_mut_call | Marcel Hellwig | -0/+155 | |
| This lint will complain when you put a mutable function/method call inside a `debug_assert` macro, because it will not be executed in release mode, therefore it will change the execution flow, which is not wanted. | ||||
