| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-12 | New lint: `mem_replace_option_with_some` | Samuel Tardieu | -2/+62 | |
| `mem::replace(opt, Some(v))` can be replaced by `opt.replace(v)`. | ||||
| 2025-02-12 | Reorganize code in `mem_replace.rs` | Samuel Tardieu | -36/+50 | |
| Make each lint be more self-contained, and trigger only the next lint when the previous one didn't already rewrite the expression. | ||||
| 2025-02-02 | Convert two `rustc_middle::lint` functions to `Span` methods. | Nicholas Nethercote | -2/+1 | |
| `rustc_middle` is a huge crate and it's always good to move stuff out of it. There are lots of similar methods already on `Span`, so these two functions, `in_external_macro` and `is_from_async_await`, fit right in. The diff is big because `in_external_macro` is used a lot by clippy lints. | ||||
| 2024-11-28 | Merge commit 'ff4a26d442bead94a4c96fb1de967374bc4fbd8e' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-07-25 | Merge commit '37f4fbb92913586b73a35772efd00eccd1cbbe13' into ↵ | Philipp Krones | -3/+5 | |
| clippy-subtree-update | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-02-27 | Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into ↵ | Philipp Krones | -2/+4 | |
| clippy-subtree-update | ||||
| 2024-01-25 | Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into ↵ | Philipp Krones | -5/+10 | |
| clippy-subtree-update | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -54/+48 | |
| 2023-11-03 | Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb | bors | -1/+1 | |
| `rustc_span` cleanups Just some things I found while looking over this crate. r? `@oli-obk` | ||||
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -6/+6 | |
| 2023-11-02 | Minimize `pub` usage in `source_map.rs`. | Nicholas Nethercote | -1/+1 | |
| Most notably, this commit changes the `pub use crate::*;` in that file to `use crate::*;`. This requires a lot of `use` items in other crates to be adjusted, because everything defined within `rustc_span::*` was also available via `rustc_span::source_map::*`, which is bizarre. The commit also removes `SourceMap::span_to_relative_line_string`, which is unused. | ||||
| 2023-04-11 | Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup | Philipp Krones | -43/+28 | |
| 2022-12-01 | Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup | Philipp Krones | -5/+5 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -38/+34 | |
| 2022-08-11 | Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup | Philipp Krones | -4/+2 | |
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -1/+1 | |
| 2022-02-26 | Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup | flip1995 | -2/+2 | |
| 2022-01-23 | Update clippy | Vadim Petrochenkov | -1/+1 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -2/+5 | |
| 2021-09-08 | Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup | flip1995 | -56/+29 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -16/+15 | |
| 2021-04-27 | Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup | flip1995 | -4/+2 | |
| 2021-04-22 | Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup | flip1995 | -12/+12 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -32/+31 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -5/+37 | |
| 2020-12-20 | Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup | flip1995 | -5/+22 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -2/+2 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -5/+5 | |
| 2020-07-02 | rustc_lint: avoid using TypeckTables::empty for LateContext. | Eduard-Mihai Burtescu | -3/+3 | |
| 2020-06-26 | rustc_lint: only query `typeck_tables_of` when a lint needs it. | Eduard-Mihai Burtescu | -5/+5 | |
| 2020-06-23 | Merge commit 'c2c07fa9d095931eb5684a42942a7b573a0c5238' into clippyup | flip1995 | -28/+54 | |
| 2020-04-18 | Add an Option<Span> argument to span_lint_and_help. | xiongmao86 | -0/+2 | |
| 2020-04-17 | Cleanup: Rename 'db' variable to 'diag' | Philipp Hansch | -2/+2 | |
| 2020-04-12 | Make use of some existing diagnostic items | Philipp Hansch | -2/+3 | |
| 2020-03-30 | rustup https://github.com/rust-lang/rust/pull/70536 | Matthias Krüger | -1/+1 | |
| 2020-01-27 | Rename `span_help_and_lint` to `span_lint_and_help` | Yuki Okushi | -3/+3 | |
| 2020-01-13 | Rustup to rust-lang/rust#68045 | Yuki Okushi | -1/+2 | |
| 2020-01-11 | Rustup to rust-lang/rust#67806 | Yuki Okushi | -3/+2 | |
| 2020-01-07 | Rustup to rust-lang/rust#67886 | Yuki Okushi | -1/+1 | |
| 2020-01-04 | Rustup to https://github.com/rust-lang/rust/pull/67853 | Philipp Hansch | -1/+1 | |
| Specifically caused by https://github.com/rust-lang/rust/pull/67786 | ||||
| 2019-12-31 | Indicate anonymous lifetimes for types | Krishna Veera Reddy | -3/+3 | |
| 2019-12-31 | Lint within internal macros without a suggestion | Krishna Veera Reddy | -11/+16 | |
| 2019-12-31 | Destructure `mem:replace` arguments | Krishna Veera Reddy | -20/+20 | |
| 2019-12-31 | Move `mem_replace_with_default` out of nursery | Krishna Veera Reddy | -1/+1 | |
| 2019-12-31 | Prevent `mem_replace_with_default` lint within macros | Krishna Veera Reddy | -4/+4 | |
| Also added test cases for internal and external macros. | ||||
| 2019-12-31 | Use `mem::take` instead of `mem::replace` when applicable | Krishna Veera Reddy | -62/+124 | |
| `std::mem::take` can be used to replace a value of type `T` with `T::default()` instead of `std::mem::replace`. | ||||
| 2019-12-27 | Rustup to rust-lang/rust#66936 | Yuki Okushi | -1/+1 | |
