about summary refs log tree commit diff
path: root/clippy_lints/src/missing_trait_methods.rs
AgeCommit message (Collapse)AuthorLines
2024-07-26missing_trait_methods: lint methods in definition orderAlex Macleod-26/+18
2024-07-22Make restriction lint's use `span_lint_and_then` (m -> m)xFrednet-6/+6
2024-05-23For restriction lints, replace “Why is this bad?” with “Why restrict ↵Kevin Reid-5/+5
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-04-01fix fallout from previous commity21-1/+1
2023-11-25Use absolute path for `declare_tool_lint` in `declare_clippy_lint`Alex Macleod-1/+1
2023-10-23Set existing doc-tests to `no_run`Alex Macleod-2/+2
2023-04-23SpellingJosh Soref-1/+1
* applying * binding * complex * constituent * demonstrate * desugaring * exact * expression * for * functionalities * github * implementation * infers * multiple conflicting traits * mutable * necessarily * nightly * nonexistent * optional * parameter * reassignments * resources * substitution * suggestion * that * that array is * using the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-01-27Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-1/+1
2023-01-19Allow for more efficient sorting when exporting Unord collections.Michael Woerister-1/+1
2023-01-19Use UnordMap instead of FxHashMap in define_id_collections!().Michael Woerister-12/+14
2022-10-23Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyupflip1995-0/+98
2022-10-20Add `missing_trait_methods` lintAlex Macleod-0/+98