about summary refs log tree commit diff
path: root/clippy_lints/src/create_dir.rs
AgeCommit message (Collapse)AuthorLines
2024-10-13Check MethodCall/Call arg count earlier or at allGnomedDev-1/+1
2024-08-17Replace `span_suggestion_with_style` with `_verbose`Alex Macleod-3/+2
2024-08-03Migrating restriction lints to `span_lint_and_then` (a -> d)xFrednet-7/+17
2024-05-23For restriction lints, replace “Why is this bad?” with “Why restrict ↵Kevin Reid-2/+4
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.
2023-11-25Use absolute path for `declare_tool_lint` in `declare_clippy_lint`Alex Macleod-1/+1
2023-11-10Clean up after if chain removalAlex Macleod-2/+1
2023-11-10Run `if-to-let-chain clippy*/**/*.rs`Alex Macleod-16/+14
https://github.com/Alexendoo/if-to-let-chain
2023-10-05Add more diagnostic items for clippyJason Newcomb-2/+2
2022-08-11Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyupPhilipp Krones-2/+2
2022-06-16Merge commit 'd7b5cbf065b88830ca519adcb73fad4c0d24b1c7' into clippyupflip1995-3/+3
2021-12-06Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyupflip1995-0/+1
2021-07-29Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyupflip1995-5/+5
2021-04-08Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyupflip1995-1/+1
2021-03-25Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyupflip1995-1/+3
2020-12-20Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyupflip1995-1/+1
2020-09-10Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyupflip1995-0/+51