about summary refs log tree commit diff
path: root/clippy_lints/src
AgeCommit message (Expand)AuthorLines
2024-12-31better suggestion for slow_vector_initializationlapla-cogito-9/+13
2024-12-30Use the full lifetime name in suggestions (#13907)Manish Goregaokar-2/+5
2024-12-30Fix parentheses when replacing `matches!(…, None)` with `.is_none()` (#13906)Timo-3/+5
2024-12-30Correctly handle `char` pathsGuillaume Gomez-0/+1
2024-12-30Use the full lifetime name in suggestionsSamuel Tardieu-2/+5
2024-12-29Fix parentheses when replacing `matches!(…, None)` with `.is_none()`Samuel Tardieu-3/+5
2024-12-29Do not remove identity mapping if mandatory mutability would be lostSamuel Tardieu-2/+13
2024-12-29Move more def paths into `clippy_utils::paths`Guillaume Gomez-2/+4
2024-12-29Do not remove required parentheses in `borrow_as_ptr` suggestion (#13884)Alejandra González-18/+18
2024-12-29`borrow_interior_mutable_const` ICE into FN (#13877)Fridtjof Stoldt-5/+6
2024-12-29Do not remove required parentheses in `borrow_as_ptr` suggestionSamuel Tardieu-18/+18
2024-12-29Move `format_push_string` and `format_collect` to pedanticSamuel Moelius-3/+4
2024-12-29use the correct `ParamEnv` when checking future's output type (#13863)dswij-2/+9
2024-12-29Examples fixes for regex (#13874)dswij-0/+10
2024-12-29Do not trigger `trailing_empty_array` in tests (#13844)llogiq-2/+5
2024-12-28borrow_interior_mutable_const ICE into FNblyxyas-5/+6
2024-12-28[`needless_continue`]: lint if the last stmt in for/while/loop is `continue`,...lengyijun-28/+101
2024-12-27Make `inconsistent_struct_constructor` "all fields are shorthand" requirement...Timo-79/+136
2024-12-27remove description of known problems in `match_same_arms` that have already b...Fridtjof Stoldt-5/+0
2024-12-27correct suggestion for `manual_div_ceil` lint (#13864)Fridtjof Stoldt-3/+35
2024-12-27don't suggest to use cloned for Cow in unnecessary_to_ownedlapla-cogito-0/+3
2024-12-26Make "all fields are shorthand" requirement configurableSamuel Moelius-79/+136
2024-12-26Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into clippy-subtree-u...Philipp Krones-402/+1188
2024-12-26Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-407/+1190
2024-12-24auto-fix `if_not_else` (#13809)llogiq-3/+51
2024-12-24Examples fixes for regexalexey semenyuk-0/+10
2024-12-24remove known problems section from match_same_armslapla-cogito-5/+0
2024-12-23chore: multipart suggestions for let_unit_value lint (#13754)Alejandra González-11/+24
2024-12-22Begin to implement type system layer of unsafe bindersMichael Goulet-1/+2
2024-12-23correct suggestion for manual_div_ceil lintlapla-cogito-3/+35
2024-12-21use the correct `ParamEnv` when checking future's return type in `missing_err...y21-2/+9
2024-12-19Add allow-indexing-slicing-in-tests option (#13854)llogiq-1/+12
2024-12-20Add allow-indexing-slicing-in-tests optionAlexey Semenyuk-1/+12
2024-12-19Auto merge of #133961 - lcnr:borrowck-cleanup, r=jackh726bors-1/+1
2024-12-18Use two structs rather than a const genericSamuel Moelius-12/+13
2024-12-18introduce `LateParamRegionKind`lcnr-1/+1
2024-12-18Rollup merge of #134161 - nnethercote:overhaul-token-cursors, r=spastorino许杰友 Jieyou Xu (Joe)-4/+4
2024-12-17chore: starting to fix unnecessary_iter_cloned (#13848)Alejandra González-8/+8
2024-12-18Rename `RefTokenTreeCursor`.Nicholas Nethercote-4/+4
2024-12-18Simplify `RefTokenTreeCursor::look_ahead`.Nicholas Nethercote-1/+1
2024-12-17Do not mark attributes with unknown namespace as useless (#13766)Philipp Krones-18/+25
2024-12-17Change unnecessary_iter_cloned to use multipart_suggestionScott Gerring-8/+8
2024-12-17Don't trigger `filter_map_identity` with an iterator from an empty array (#13...Jason Newcomb-0/+10
2024-12-17Do not trigger trailing_empty_array in testsAlexey Semenyuk-2/+5
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-7/+9
2024-12-16Correctly handle string indices in `literal_string_with_formatting_arg` (#13841)Philipp Krones-1/+10
2024-12-16Correctly handle string indices in `literal_string_with_formatting_arg`Guillaume Gomez-1/+10
2024-12-16correct suggestion for `unnecessary_sort_by` in `no_std` (#13836)llogiq-3/+5
2024-12-16correct suggestion for unnecessary_sort_by in no_stdlapla-cogito-3/+5
2024-12-16Do not suggest using `Error` in `no_std` before Rust 1.81 (#13834)llogiq-12/+28