about summary refs log tree commit diff
path: root/clippy_lints/src/mem_replace.rs
AgeCommit message (Expand)AuthorLines
2023-04-06fix [mem_replace_option_with_none] not considering field variablesJ-ZhengLi-43/+28
2022-11-21Add `clippy_utils::msrv::Msrv` to keep track of the current MSRVAlex Macleod-5/+5
2022-10-02Replace `is_lang_ctor` with `is_res_lang_ctor`Jason Newcomb-38/+34
2022-08-02use slice match more oftentabokie-4/+2
2022-05-08Pass msrvs by copySamuel E. Moelius III-1/+1
2022-02-25Replace some more paths with diagnostic itemsAlex Macleod-2/+2
2022-01-23Update clippyVadim Petrochenkov-1/+1
2021-12-06Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyupflip1995-2/+5
2021-09-08Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyupflip1995-56/+29
2021-07-29Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyupflip1995-16/+15
2021-04-27Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyupflip1995-4/+2
2021-04-22Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyupflip1995-12/+12
2021-04-08Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyupflip1995-32/+31
2021-03-25Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyupflip1995-5/+37
2020-12-20Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyupflip1995-5/+22
2020-07-17Rename TypeckTables to TypeckResults.Valentin Lazureanu-2/+2
2020-07-03Use 'tcx for references to AccessLevels wherever possible.Eduard-Mihai Burtescu-5/+5
2020-07-02rustc_lint: avoid using TypeckTables::empty for LateContext.Eduard-Mihai Burtescu-3/+3
2020-06-26rustc_lint: only query `typeck_tables_of` when a lint needs it.Eduard-Mihai Burtescu-5/+5
2020-06-23Merge commit 'c2c07fa9d095931eb5684a42942a7b573a0c5238' into clippyupflip1995-28/+54
2020-04-18Add an Option<Span> argument to span_lint_and_help.xiongmao86-0/+2
2020-04-17Cleanup: Rename 'db' variable to 'diag'Philipp Hansch-2/+2
2020-04-12Make use of some existing diagnostic itemsPhilipp Hansch-2/+3
2020-03-30rustup https://github.com/rust-lang/rust/pull/70536Matthias Krüger-1/+1
2020-01-27Rename `span_help_and_lint` to `span_lint_and_help`Yuki Okushi-3/+3
2020-01-13Rustup to rust-lang/rust#68045Yuki Okushi-1/+2
2020-01-11Rustup to rust-lang/rust#67806Yuki Okushi-3/+2
2020-01-07Rustup to rust-lang/rust#67886Yuki Okushi-1/+1
2020-01-04Rustup to https://github.com/rust-lang/rust/pull/67853Philipp Hansch-1/+1
2019-12-31Indicate anonymous lifetimes for typesKrishna Veera Reddy-3/+3
2019-12-31Lint within internal macros without a suggestionKrishna Veera Reddy-11/+16
2019-12-31Destructure `mem:replace` argumentsKrishna Veera Reddy-20/+20
2019-12-31Move `mem_replace_with_default` out of nurseryKrishna Veera Reddy-1/+1
2019-12-31Prevent `mem_replace_with_default` lint within macrosKrishna Veera Reddy-4/+4
2019-12-31Use `mem::take` instead of `mem::replace` when applicableKrishna Veera Reddy-62/+124
2019-12-27Rustup to rust-lang/rust#66936Yuki Okushi-1/+1
2019-12-21rustup "Merge `ast::Mutability` and `mir::Mutability`"Lzu Tao-1/+1
2019-12-04Rustup to rust-lang/rust#66878Matthias Krüger-1/+2
2019-11-27Add BorrowKind::RefManish Goregaokar-2/+2
2019-11-25Rustup to rust-lang/rust#66671flip1995-1/+1
2019-11-11MutImmutable -> Immutable, MutMutable -> Mutable, CaptureClause -> CaptureByManish Goregaokar-2/+2
2019-09-27Rustup to rust-lang/rust#64813flip1995-7/+7
2019-09-20new lint: mem-replace-with-uninitAndre Bogus-31/+95
2019-05-17Prevent symbocalypseOliver Scherer-2/+2
2019-05-14Rustfmt all the thingsOliver Scherer-1/+1
2019-05-14Use symbols instead of stringsOliver Scherer-3/+3
2019-05-03Rustup to rustc 1.36.0-nightly (13fde05b1 2019-05-03)Matthias Krüger-1/+1
2019-04-17Use lint pass macrosMatthew Kraai-12/+2
2019-04-17Use {get,match}_def_path from LateContextflip1995-2/+2
2019-03-08Refactor: Remove utils::opt_def_idPhilipp Hansch-2/+2