| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-17 | Overhaul the `intravisit::Map` trait. | Nicholas Nethercote | -2/+2 | |
| 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 | -2/+2 | |
| 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-23 | `visit_x_unambig` | Boxy | -3/+3 | |
| 2025-01-23 | The clipper :3c | Boxy | -15/+6 | |
| 2025-01-04 | turn hir::ItemKind::Fn into a named-field variant | Ralf Jung | -1/+6 | |
| 2024-11-07 | Merge commit 'f712eb5cdccd121d0569af12f20e6a0fabe4364d' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-10-03 | Merge commit 'aa0d551351a9c15d8a95fdb3e2946b505893dda8' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -3/+3 | |
| clippy-subtree-update | ||||
| 2024-08-08 | Merge commit 'cb806113e0f83a8f9b47d35b453b676543bcc40e' into ↵ | Philipp Krones | -27/+26 | |
| clippy-subtree-update | ||||
| 2024-06-27 | Merge commit '68a799aea9b65e2444fbecfe32217ce7d5a3604f' into ↵ | Philipp Krones | -23/+17 | |
| clippy-subtree-update | ||||
| 2024-05-29 | Don't require `visit_body` to take a lifetime that must outlive the function ↵ | Oli Scherer | -1/+1 | |
| call | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-03-22 | Rename AstConv to HIR ty lowering | León Orell Valerian Liehr | -2/+2 | |
| This includes updating astconv-related items and a few local variables. | ||||
| 2024-02-28 | Rename `DiagnosticBuilder` as `Diag`. | Nicholas Nethercote | -2/+2 | |
| Much better! Note that this involves renaming (and updating the value of) `DIAGNOSTIC_BUILDER` in clippy. | ||||
| 2024-02-19 | Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers. | Nicholas Nethercote | -2/+2 | |
| There are lots of functions that modify a diagnostic. This can be via a `&mut Diagnostic` or a `&mut DiagnosticBuilder`, because the latter type wraps the former and impls `DerefMut`. This commit converts all the `&mut Diagnostic` occurrences to `&mut DiagnosticBuilder`. This is a step towards greatly simplifying `Diagnostic`. Some of the relevant function are made generic, because they deal with both errors and warnings. No function bodies are changed, because all the modifier methods are available on both `Diagnostic` and `DiagnosticBuilder`. | ||||
| 2024-01-18 | Don't forget that the lifetime on hir types is `'tcx` | Oli Scherer | -1/+1 | |
| 2024-01-06 | rustc_span: Optimize syntax context comparisons | Vadim Petrochenkov | -1/+1 | |
| Including comparisons with root context | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -38/+32 | |
| 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-06 | Merge commit 'b105fb4c39bc1a010807a6c076193cef8d93c109' into clippyup | Philipp Krones | -3/+2 | |
| 2022-11-21 | Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup | Philipp Krones | -2/+2 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -1/+1 | |
| spastorino noticed some silly expressions like `item_id.def_id.def_id`. This commit renames several `def_id: OwnerId` fields as `owner_id`, so those expressions become `item_id.owner_id.def_id`. `item_id.owner_id.local_def_id` would be even clearer, but the use of `def_id` for values of type `LocalDefId` is *very* widespread, so I left that alone. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -1/+1 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -5/+4 | |
| 2022-09-27 | rustc_typeck to rustc_hir_analysis | lcnr | -1/+1 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -1/+1 | |
| fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)` | ||||
| 2022-05-21 | Merge 'rust-clippy/master' into clippyup | xFrednet | -1/+1 | |
| 2022-05-05 | Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup | flip1995 | -2/+2 | |
| 2022-02-23 | Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`. | Eduard-Mihai Burtescu | -2/+2 | |
| 2022-02-10 | Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup | flip1995 | -2/+1 | |
| 2022-02-01 | remove `TyS::same_type` | lcnr | -2/+2 | |
| it ignored regions and constants in adts, but didn't do so for references or any other types. This seemed quite weird | ||||
| 2022-01-27 | Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup | flip1995 | -1/+1 | |
| 2022-01-16 | Fix Visitor::NestedFilter in Clippy | Cameron Steffen | -11/+5 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+1 | |
| 2021-10-07 | Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup | flip1995 | -6/+14 | |
| 2021-10-02 | Make diangostic item names consistent | Cameron Steffen | -4/+4 | |
| 2021-09-10 | Keep a parent LocalDefId in SpanData. | Camille GILLOT | -2/+2 | |
| 2021-08-04 | Auto merge of #87568 - petrochenkov:localevel, r=cjgillot | bors | -1/+1 | |
| rustc: Replace `HirId`s with `LocalDefId`s in `AccessLevels` tables and passes using those tables - primarily privacy checking, stability checking and dead code checking. All these passes work with definitions rather than with arbitrary HIR nodes. r? `@cjgillot` cc `@lambinoo` (#87487) | ||||
| 2021-08-01 | bump bootstrap compiler to 1.55 | Pietro Albini | -2/+0 | |
| 2021-07-31 | Fix clippy | Vadim Petrochenkov | -1/+1 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -9/+11 | |
| 2021-07-25 | Add inferred args to typeck | kadmin | -1/+9 | |
| 2021-07-09 | clippy: allow default_hash_types on bootstrap | Cameron Steffen | -1/+1 | |
| 2021-04-22 | Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup | flip1995 | -3/+4 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -0/+377 | |
