about summary refs log tree commit diff
path: root/clippy_lints/src/mem_replace.rs
AgeCommit message (Expand)AuthorLines
2024-07-17Refactor for using config values:Jason Newcomb-3/+5
2024-04-01fix fallout from previous commity21-1/+1
2024-02-11[mem_replace_with_default] No longer triggers on unused expressionGabriel Fernandes-2/+4
2024-01-15Use `std_or_core` instead of doing check by hand every timeGuillaume Gomez-10/+6
2024-01-14Correctly suggest `std` or `core` path depending if this is a `no_std` crateGuillaume Gomez-5/+14
2023-11-25Use absolute path for `declare_tool_lint` in `declare_clippy_lint`Alex Macleod-1/+1
2023-11-16Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-54/+48
2023-11-10Clean up after if chain removalAlex Macleod-3/+3
2023-11-10Run `if-to-let-chain clippy*/**/*.rs`Alex Macleod-52/+46
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-1/+1
2023-11-02Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyupPhilipp Krones-6/+6
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-10-23Move configuration to new `clippy_config` crateAlex Macleod-1/+1
2023-10-23Set existing doc-tests to `no_run`Alex Macleod-5/+5
2023-04-11Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyupPhilipp Krones-43/+28
2023-04-06fix [mem_replace_option_with_none] not considering field variablesJ-ZhengLi-43/+28
2022-12-01Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyupPhilipp Krones-5/+5
2022-11-21Add `clippy_utils::msrv::Msrv` to keep track of the current MSRVAlex Macleod-5/+5
2022-10-06Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyupPhilipp Krones-38/+34
2022-10-02Replace `is_lang_ctor` with `is_res_lang_ctor`Jason Newcomb-38/+34
2022-08-11Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyupPhilipp Krones-4/+2
2022-08-02use slice match more oftentabokie-4/+2
2022-05-21Merge 'rust-clippy/master' into clippyupxFrednet-1/+1
2022-05-08Pass msrvs by copySamuel E. Moelius III-1/+1
2022-02-26Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyupflip1995-2/+2
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