| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -8/+9 | |
| clippy-subtree-update | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-28 | Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`. | Nicholas Nethercote | -4/+4 | |
| - Rename them both `as_str`, which is the typical name for a function that returns a `&str`. (`to_string` is appropriate for functions returning `String` or maybe `Cow<'a, str>`.) - Change `UnOp::as_str` from an associated function (weird!) to a method. - Avoid needless `self` dereferences. | ||||
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -112/+97 | |
| 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 | -2/+2 | |
| 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-10-16 | fix lint failures in clippy | Arthur Lafrance | -1/+1 | |
| 2023-07-02 | Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup | Philipp Krones | -0/+6 | |
| 2023-04-23 | Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup | Philipp Krones | -1/+1 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -16/+9 | |
| 2022-08-11 | Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup | Philipp Krones | -3/+3 | |
| 2022-06-04 | Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup | Philipp Krones | -5/+11 | |
| 2022-02-10 | Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup | flip1995 | -8/+6 | |
| 2022-01-23 | Update clippy | Vadim Petrochenkov | -3/+3 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+4 | |
| 2021-09-28 | Merge commit 'cb7915b00c235e9b5861564f3be78dba330980ee' into clippyup | flip1995 | -26/+31 | |
| 2021-08-22 | Fix more “a”/“an” typos | Frank Steffahn | -1/+1 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -20/+20 | |
| 2021-07-01 | Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup | flip1995 | -3/+3 | |
| 2021-04-22 | Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup | flip1995 | -2/+15 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -2/+1 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -1/+3 | |
| 2020-07-14 | Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup | flip1995 | -10/+2 | |
| 2020-06-09 | Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy | Lzu Tao | -6/+2 | |
| 2020-04-18 | Change note_span argument for span_lint_and_note. | xiongmao86 | -4/+4 | |
| 2020-04-18 | Add an Option<Span> argument to span_lint_and_help. | xiongmao86 | -0/+1 | |
| 2020-03-30 | rustup https://github.com/rust-lang/rust/pull/70536 | Matthias Krüger | -1/+1 | |
| 2020-03-01 | Rustup to rust-lang/rust#69592 | Yuki Okushi | -1/+1 | |
| 2020-02-21 | Fix fallout | flip1995 | -1/+1 | |
| 2020-01-27 | Rename `span_note_and_lint` to `span_lint_and_note` | Yuki Okushi | -5/+5 | |
| 2020-01-27 | Rename `span_help_and_lint` to `span_lint_and_help` | Yuki Okushi | -2/+2 | |
| 2020-01-25 | dont fire possible_missing_comma if intendation is present | Mikhail Babenko | -16/+22 | |
| 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 | |
| 2019-12-24 | rustup "Add span information to `ExprKind::Assign`" | Lzu Tao | -1/+1 | |
| 2019-12-04 | Rustup to rust-lang/rust#66878 | Matthias Krüger | -1/+2 | |
| 2019-10-14 | new lints around `#[must_use]` fns | Andre Bogus | -0/+1 | |
| `must_use_unit` lints unit-returning functions with a `#[must_use]` attribute, suggesting to remove it. `double_must_use` lints functions with a plain `#[must_use]` attribute, but which return a type which is already `#[must_use]`, so the attribute has no benefit. `must_use_candidate` is a pedantic lint that lints functions and methods that return some non-unit type that is not already `#[must_use]` and suggests to add the annotation. | ||||
| 2019-10-09 | New lint: suspicious_unary_op_formatting | Nikos Filippakis | -1/+64 | |
| Lints when, on the RHS of a BinOp, there is a UnOp without a space before the operator but with a space after (e.g. foo >- 1). Signed-off-by: Nikos Filippakis <nikolaos.filippakis@cern.ch> | ||||
| 2019-09-27 | Rustup to rust-lang/rust#64813 | flip1995 | -8/+8 | |
| 2019-08-19 | Remove in_macro_or_desugar | KRAAI, MATTHEW [VISUS] | -4/+4 | |
| 2019-06-24 | Simplify unsugar_if to just an if expr check | flip1995 | -12/+12 | |
| 2019-06-24 | Remove ast:: prefix from types | flip1995 | -20/+20 | |
| 2019-06-24 | Put 'if let' back into comment. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-23 | Fix fallout from rust-lang/rust PR 60861. | Mazdak Farrokhzad | -4/+2 | |
| 2019-05-11 | Rename in_macro to in_macro_or_desugar | Manish Goregaokar | -4/+4 | |
| 2019-04-17 | Use lint pass macros | Matthew Kraai | -17/+6 | |
| Fixes #3917. | ||||
| 2019-04-14 | cargo fmt | Philipp Hansch | -3/+2 | |
| 2019-04-14 | Refactor suspicious_else_formatting using if_chain | Philipp Hansch | -35/+32 | |
