about summary refs log tree commit diff
path: root/clippy_lints/src
AgeCommit message (Expand)AuthorLines
2025-01-28`useless_asref`: no lint if in a closure to change the ref depthSamuel Tardieu-6/+13
2025-01-27correct suggestions in `no_std` (#13999)Manish Goregaokar-23/+32
2025-01-28correct suggestion for `map_with_unused_argument_over_ranges` in a `no_std` e...lapla-cogito-2/+3
2025-01-28correct suggestion for `drain_collect` in a `no_std` environmentlapla-cogito-3/+4
2025-01-28don't suggest to use `std::vec::Vec` for `single_range_in_vec_init` in a `no_...lapla-cogito-2/+2
2025-01-28correct suggestion for `repeat_vec_with_capacity` in a `no_std` environmentlapla-cogito-2/+6
2025-01-28correct suggestion for `redundant_closure` in a `no_std` environmentlapla-cogito-14/+17
2025-01-27New lint `sliced_string_as_bytes` (#14002)Manish Goregaokar-0/+61
2025-01-27add MSRV check for `manual_flatten`lapla-cogito-1/+4
2025-01-27Remove "Known problems" section for `borrow_interior_mutable_const` (#14078)Manish Goregaokar-10/+0
2025-01-27Rollup merge of #126604 - kadiwa4:uplift_double_negation, r=nnethercoteLeón Orell Valerian Liehr-41/+2
2025-01-26new `manual_option_as_slice` lintAndre Bogus-9/+229
2025-01-26Make `unnecessary_map_or` work with ref and `Deref` to `Option`/`Result` (#14...Alejandra González-1/+1
2025-01-26remove `clippy::double_neg`Kalle Wachsmuth-41/+2
2025-01-26Auto merge of #135753 - compiler-errors:from-ty-const, r=oli-obkbors-5/+2
2025-01-26Remove "Known problems" section for `borrow_interior_mutable_const`alexey semenyuk-10/+0
2025-01-26change the applicability of `obfuscated_if_else` depending on whether the ori...lapla-cogito-1/+7
2025-01-25trigger `obfuscated_if_else` for `.then(..).unwrap_or(..)` (#14021)llogiq-12/+19
2025-01-25slice-as-bytes: pedantic -> perfwowinter13-1/+1
2025-01-25nit: change placeholderswowinter13-2/+2
2025-01-25Small refactoring: irrefutable let patternwowinter13-15/+14
2025-01-25Rename slice_as_bytes -> sliced_string_as_byteswowinter13-8/+8
2025-01-25Fix function signaturewowinter13-1/+1
2025-01-25Address linter & changelog issueswowinter13-1/+1
2025-01-25New lintwowinter13-0/+62
2025-01-25trigger `obfuscated_if_else` for `.then(..).unwrap_or(..)`lapla-cogito-12/+19
2025-01-24add new lint `non_std_lazy_statics`J-ZhengLi-0/+309
2025-01-24docs: fix verbose-bit-mask example (#14055)Alex Macleod-2/+2
2025-01-23Add necessary adjustments to suggestion to remove redundant `.into_iter()` ca...Timo-13/+26
2025-01-23clarify message for non-obvious precedence (#14043)Catherine Flores-1/+1
2025-01-23clarify message for non-obvious precedenceJacob Pratt-1/+1
2025-01-23make `hir::Ty/ConstArg` methods generic where applicableBoxy-2/+2
2025-01-23`visit_x_unambig`Boxy-11/+11
2025-01-23The clipper :3cBoxy-149/+145
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-3/+3
2025-01-23fix ICE in `unnecessary_mut_passed`lapla-cogito-2/+3
2025-01-23Move `manual_ok_or` from pedantic to styleSamuel Tardieu-1/+1
2025-01-23Deprecate the `option_map_or_err_ok` lintSamuel Tardieu-70/+2
2025-01-22Fix out-of-date comment (#14040)Catherine Flores-2/+1
2025-01-22`arithmetic_side_effects`: check adjusted expression typesSamuel Tardieu-3/+3
2025-01-22`match_bool`: fix suggestion if guard is present (#14039)llogiq-24/+27
2025-01-22`unnecessary_semicolon`: do not lint if it may cause borrow errors (#14049)Timo-25/+58
2025-01-22Suggest using `Vec::extend()` in `same_item_push` (#13987)Fridtjof Stoldt-12/+24
2025-01-22`unnecessary_semicolon`: do not lint if it may cause borrow errorsSamuel Tardieu-6/+52
2025-01-22Extract `leaks_droppable_temporary_with_limited_lifetime()`Samuel Tardieu-19/+6
2025-01-22`short_circuit_statement`: handle macros and parenthesis better (#14047)Timo-10/+9
2025-01-22don't trigger `needless_late_init` when the first usage is in macro (#14053)Timo-0/+4
2025-01-22don't trigger `needless_late_init` when the first usage is in macrolapla-cogito-0/+4
2025-01-21docs: fix verbose-bit-mask exampleJoshua Wong-2/+2
2025-01-21Move supertrait_def_ids into the elaborate module like all other fnsMichael Goulet-1/+2