about summary refs log tree commit diff
path: root/clippy_lints/src/mem_replace.rs
AgeCommit message (Expand)AuthorLines
2021-04-13Refactor diagnostic item methodsCameron Steffen-11/+10
2021-04-06Introduce is_lang_ctorCameron Steffen-3/+4
2021-04-06Fix all occurences of `needless_borrow` internallyJason Newcomb-8/+8
2021-03-31Eat dogfoodCameron Steffen-25/+24
2021-03-17Don't re-export clippy_utils::*Cameron Steffen-1/+1
2021-03-15Don't re-export clippy_utils::diagnostics::*Cameron Steffen-4/+2
2021-03-15Move some utils to clippy_utils::source moduleCameron Steffen-4/+4
2021-03-12mem_replace_with_default: use diagnostic items intead of pathsMateusz Gacek-15/+34
2021-03-12mem_replace_with_default: recognize some std library ctorsMateusz Gacek-1/+16
2020-12-11add MSRV to more lints specified in #6097suyash458-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
2019-03-05fix or ignore failing doc testsAndy Russell-0/+2
2019-03-05move lint documentation into macro invocationsAndy Russell-19/+19
2019-01-27rustup https://github.com/rust-lang/rust/pull/57726Matthias Krüger-0/+4
2019-01-08Remove all copyright license headersPhilipp Hansch-9/+0
2018-12-29Remove crate:: prefixes from crate pathsKonrad Borowski-4/+4