| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-19 | Plumb awaitness of for loops | Eric Holk | -1/+1 | |
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -5/+2 | |
| 2023-11-28 | Rework `ast::BinOpKind::to_string` and `ast::UnOp::to_string`. | Nicholas Nethercote | -1/+1 | |
| - 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-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 | -1/+4 | |
| 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-27 | Add gen blocks to ast and do some broken ast lowering | Oli Scherer | -1/+1 | |
| 2023-09-12 | Merge commit '98363cbf6a7c3f8b571a7d92a3c645bb4376e4a6' into clippyup | Philipp Krones | -1/+1 | |
| 2023-08-11 | Merge commit '1e8fdf492808a25d78a97e1242b835ace9924e4d' into clippyup | Philipp Krones | -1/+1 | |
| 2023-07-24 | Perform OpaqueCast field projection on HIR, too. | Oli Scherer | -0/+2 | |
| This is necessary for closure captures in 2021 edition, as they capture individual fields, not the full mentioned variables. So it may try to capture a field of an opaque (because the hidden type is known to be something with a field). | ||||
| 2023-07-17 | Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup | Philipp Krones | -1/+1 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -1/+1 | |
| 2023-07-02 | Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyup | Philipp Krones | -1/+1 | |
| 2023-06-26 | Support `hir::ExprKind::Become` in clippy | Maybe Waffle | -0/+1 | |
| 2023-06-19 | Support `ast::ExprKind::Become` in clippy | Maybe Waffle | -0/+1 | |
| 2023-05-29 | Use `Cow` in `{D,Subd}iagnosticMessage`. | Nicholas Nethercote | -3/+3 | |
| Each of `{D,Subd}iagnosticMessage::{Str,Eager}` has a comment: ``` // FIXME(davidtwco): can a `Cow<'static, str>` be used here? ``` This commit answers that question in the affirmative. It's not the most compelling change ever, but it might be worth merging. This requires changing the `impl<'a> From<&'a str>` impls to `impl From<&'static str>`, which involves a bunch of knock-on changes that require/result in call sites being a little more precise about exactly what kind of string they use to create errors, and not just `&str`. This will result in fewer unnecessary allocations, though this will not have any notable perf effects given that these are error paths. Note that I was lazy within Clippy, using `to_string` in a few places to preserve the existing string imprecision. I could have used `impl Into<{D,Subd}iagnosticMessage>` in various places as is done in the compiler, but that would have required changes to *many* call sites (mostly changing `&format("...")` to `format!("...")`) which didn't seem worthwhile. | ||||
| 2023-05-05 | Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup | Philipp Krones | -8/+4 | |
| 2023-05-01 | clean up Colon from clippy | yukang | -5/+6 | |
| 2023-04-21 | offset_of | DrMeepster | -0/+2 | |
| 2023-03-24 | Merge commit 'd5e2a7aca55ed49fc943b7a07a8eba05ab5a0079' into clippyup | Philipp Krones | -9/+1 | |
| 2023-03-14 | Remove box expressions from HIR | clubby789 | -1/+0 | |
| 2023-03-12 | Remove `box_syntax` from AST and use in tools | clubby789 | -1/+0 | |
| 2023-02-26 | Auto merge of #108474 - Jarcho:clippyup, r=Manishearth | bors | -4/+4 | |
| Update Clippy Seems like `@flip1995` so this is a couple days late. r? `@Manishearth` | ||||
| 2023-02-25 | Merge commit '149392b0baa4730c68f3c3eadf5c6ed7b16b85a4' into clippyup | Jason Newcomb | -4/+4 | |
| 2023-02-25 | Make clippy happy | Michael Goulet | -1/+1 | |
| 2023-02-10 | Merge commit '0f7558148c22e53cd4608773b56cdfa50dcdeac3' into clippyup | Philipp Krones | -1/+4 | |
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -4/+2 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -1/+1 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -1/+1 | |
| 2023-01-12 | Make clippy compile. | Mara Bos | -0/+1 | |
| 2022-12-29 | Auto merge of #106266 - matthiaskrgr:rollup-cxrdbzy, r=matthiaskrgr | bors | -1/+0 | |
| Rollup of 9 pull requests Successful merges: - #104531 (Provide a better error and a suggestion for `Fn` traits with lifetime params) - #105899 (`./x doc library --open` opens `std`) - #106190 (Account for multiple multiline spans with empty padding) - #106202 (Trim more paths in obligation types) - #106234 (rustdoc: simplify settings, help, and copy button CSS by not reusing) - #106236 (docs/test: add docs and a UI test for `E0514` and `E0519`) - #106259 (Update Clippy) - #106260 (Fix index out of bounds issues in rustdoc) - #106263 (Formatter should not try to format non-Rust files) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2022-12-29 | Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup | Philipp Krones | -1/+0 | |
| 2022-12-28 | Rename `Rptr` to `Ref` in AST and HIR | Nilstrieb | -2/+2 | |
| The name makes a lot more sense, and `ty::TyKind` calls it `Ref` already as well. | ||||
| 2022-12-01 | Merge commit 'd822110d3b5625b9dc80ccc442e06fc3cc851d76' into clippyup | Philipp Krones | -29/+36 | |
| 2022-11-21 | Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup | Philipp Krones | -1/+1 | |
| 2022-11-11 | Introduce `ExprKind::IncludedBytes` | clubby789 | -0/+1 | |
| 2022-10-23 | Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup | flip1995 | -8/+5 | |
| 2022-10-20 | rustc_hir_typeck: fix clippy | lcnr | -4/+3 | |
| 2022-10-19 | Add testcase for next_point, fix more trivial issues in ↵ | yukang | -2/+1 | |
| find_width_of_character_at_span | ||||
| 2022-10-07 | Change InferCtxtBuilder from enter to build | Cameron Steffen | -4/+3 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -29/+33 | |
| 2022-09-27 | rustc_typeck to rustc_hir_analysis | lcnr | -2/+2 | |
| 2022-09-21 | Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy | David Koloski | -22/+26 | |
| 2022-09-05 | separate the receiver from arguments in HIR under /clippy | Takayuki Maeda | -11/+13 | |
| 2022-08-11 | Merge commit '2b2190cb5667cdd276a24ef8b9f3692209c54a89' into clippyup | Philipp Krones | -0/+6 | |
| 2022-07-18 | Merge commit 'fdb84cbfd25908df5683f8f62388f663d9260e39' into clippyup | Philipp Krones | -8/+22 | |
| 2022-07-12 | Fix clippy build | Maybe Waffle | -2/+2 | |
| 2022-06-17 | remove the rest of unnecessary `to_string` | Takayuki Maeda | -1/+1 | |
| 2022-06-12 | Make `ExprKind::Closure` a struct variant. | Camille GILLOT | -4/+4 | |
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -4/+1 | |
