| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-20 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -1/+1 | |
| 2025-02-18 | Move methods from `Map` to `TyCtxt`, part 2. | Nicholas Nethercote | -1/+1 | |
| Continuing the work started in #136466. Every method gains a `hir_` prefix, though for the ones that already have a `par_` or `try_par_` prefix I added the `hir_` after that. | ||||
| 2025-02-17 | Overhaul the `intravisit::Map` trait. | Nicholas Nethercote | -1/+1 | |
| First of all, note that `Map` has three different relevant meanings. - The `intravisit::Map` trait. - The `map::Map` struct. - The `NestedFilter::Map` associated type. The `intravisit::Map` trait is impl'd twice. - For `!`, where the methods are all unreachable. - For `map::Map`, which gets HIR stuff from the `TyCtxt`. As part of getting rid of `map::Map`, this commit changes `impl intravisit::Map for map::Map` to `impl intravisit::Map for TyCtxt`. It's fairly straightforward except various things are renamed, because the existing names would no longer have made sense. - `trait intravisit::Map` becomes `trait intravisit::HirTyCtxt`, so named because it gets some HIR stuff from a `TyCtxt`. - `NestedFilter::Map` assoc type becomes `NestedFilter::MaybeTyCtxt`, because it's always `!` or `TyCtxt`. - `Visitor::nested_visit_map` becomes `Visitor::maybe_tcx`. I deliberately made the new trait and associated type names different to avoid the old `type Map: Map` situation, which I found confusing. We now have `type MaybeTyCtxt: HirTyCtxt`. | ||||
| 2025-02-17 | Move some `Map` methods onto `TyCtxt`. | Nicholas Nethercote | -3/+3 | |
| The end goal is to eliminate `Map` altogether. I added a `hir_` prefix to all of them, that seemed simplest. The exceptions are `module_items` which became `hir_module_free_items` because there was already a `hir_module_items`, and `items` which became `hir_free_items` for consistency with `hir_module_free_items`. | ||||
| 2025-01-28 | Merge commit '51d49c1ae2785b24ef18a46ef233fc1d91844666' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2025-01-19 | Apply `unnecessary_semicolon` to Clippy sources | Samuel Tardieu | -1/+1 | |
| 2025-01-09 | Merge commit '19e305bb57a7595f2a8d81f521c0dd8bf854e739' into ↵ | Philipp Krones | -0/+1 | |
| clippy-subtree-update | ||||
| 2024-12-30 | Correctly handle `char` paths | Guillaume Gomez | -0/+1 | |
| 2024-12-26 | Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into ↵ | Philipp Krones | -15/+19 | |
| clippy-subtree-update | ||||
| 2024-12-26 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -15/+19 | |
| 2024-12-16 | rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures | Jonathan Dönszelmann | -1/+1 | |
| 2024-12-15 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -7/+12 | |
| 2024-12-05 | fix: various typos | BD103 | -3/+3 | |
| 2024-11-28 | Merge commit 'ff4a26d442bead94a4c96fb1de967374bc4fbd8e' into ↵ | Philipp Krones | -4/+7 | |
| clippy-subtree-update | ||||
| 2024-11-28 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -4/+7 | |
| 2024-11-07 | Merge commit 'f712eb5cdccd121d0569af12f20e6a0fabe4364d' into ↵ | Philipp Krones | -10/+77 | |
| clippy-subtree-update | ||||
| 2024-11-07 | Fix lint_without_lint_pass internal lint | Philipp Krones | -3/+3 | |
| 2024-10-30 | Use match ergonomics compatible with editions 2021 and 2024 | Samuel Tardieu | -3/+3 | |
| 2024-10-18 | Auto merge of #13543 - GnomedDev:symbol-comparisons, r=y21 | bors | -4/+71 | |
| Add internal lint to check for slow symbol comparisons See the conversation on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/Checking.20a.20Symbol.20is.20equal.20to.20a.20string.20literal). changelog: none | ||||
| 2024-10-18 | Merge commit 'a109190d7060236e655fc75533373fa274ec5343' into ↵ | Philipp Krones | -16/+23 | |
| clippy-subtree-update | ||||
| 2024-10-18 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -16/+23 | |
| 2024-10-13 | Apply fixes from lint | GnomedDev | -4/+2 | |
| 2024-10-13 | Add lint to check for slow symbol comparisons | GnomedDev | -0/+69 | |
| 2024-10-13 | Check MethodCall/Call arg count earlier or at all | GnomedDev | -12/+19 | |
| 2024-10-03 | Merge commit 'aa0d551351a9c15d8a95fdb3e2946b505893dda8' into ↵ | Philipp Krones | -4/+3 | |
| clippy-subtree-update | ||||
| 2024-10-03 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -4/+3 | |
| 2024-09-25 | Fix `clippy_lints` and `clippy_utils` | Samuel Moelius | -1/+1 | |
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -6/+6 | |
| clippy-subtree-update | ||||
| 2024-09-22 | Formatting | Philipp Krones | -6/+6 | |
| 2024-08-24 | Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup | Jason Newcomb | -1081/+7 | |
| 2024-08-08 | Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into ↵ | Philipp Krones | -144/+72 | |
| clippy-subtree-update | ||||
| 2024-07-25 | Merge commit '37f4fbb92913586b73a35772efd00eccd1cbbe13' into ↵ | Philipp Krones | -4/+4 | |
| clippy-subtree-update | ||||
| 2024-07-11 | Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into ↵ | Philipp Krones | -73/+0 | |
| clippy-subtree-update | ||||
| 2024-06-27 | Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into ↵ | Philipp Krones | -0/+1 | |
| clippy-subtree-update | ||||
| 2024-06-13 | Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into ↵ | Philipp Krones | -3/+3 | |
| clippy-subtree-update | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -24/+22 | |
| clippy-subtree-update | ||||
| 2024-03-24 | Rename `{enter,exit}_lint_attrs` to `check_attributes{,_post}` | Alex Macleod | -1/+1 | |
| 2024-03-22 | Rename `hir::Node::Local` into `hir::Node::LetStmt` | Guillaume Gomez | -2/+2 | |
| 2024-03-21 | Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-02-28 | Rename `DiagnosticBuilder` as `Diag`. | Nicholas Nethercote | -3/+3 | |
| Much better! Note that this involves renaming (and updating the value of) `DIAGNOSTIC_BUILDER` in clippy. | ||||
| 2024-02-27 | Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into ↵ | Philipp Krones | -2/+0 | |
| clippy-subtree-update | ||||
| 2024-02-10 | hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}` | Vadim Petrochenkov | -5/+4 | |
| 2024-01-25 | Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into ↵ | Philipp Krones | -2/+4 | |
| clippy-subtree-update | ||||
| 2024-01-23 | Rename `LintContext::struct_span_lint` as `LintContext::span_lint`. | Nicholas Nethercote | -1/+0 | |
| 2023-12-16 | Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup | Philipp Krones | -5/+5 | |
| 2023-12-12 | Move some methods from `tcx.hir()` to `tcx` | zetanumbers | -1/+1 | |
| Renamings: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id Fix rebase changes using removed methods Use `tcx.hir_node_by_def_id()` whenever possible in compiler Fix clippy errors Fix compiler Apply suggestions from code review Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Add FIXME for `tcx.hir()` returned type about its removal Simplify with with `tcx.hir_node_by_def_id` | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -15/+15 | |
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -502/+305 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -30/+18 | |
| 2023-10-21 | Merge commit '2b030eb03d9e5837440b1ee0b98c50b97c0c5889' into clippyup | Philipp Krones | -9/+16 | |
