| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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-02-02 | Convert two `rustc_middle::lint` functions to `Span` methods. | Nicholas Nethercote | -3/+2 | |
| `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. | ||||
| 2025-01-28 | Merge commit '51d49c1ae2785b24ef18a46ef233fc1d91844666' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2025-01-04 | turn hir::ItemKind::Fn into a named-field variant | Ralf Jung | -1/+6 | |
| 2024-12-26 | Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into ↵ | Philipp Krones | -12/+46 | |
| clippy-subtree-update | ||||
| 2024-12-15 | Add hir::Attribute | Jonathan Dönszelmann | -2/+1 | |
| 2024-11-19 | move `fn is_item_raw` to `TypingEnv` | lcnr | -1/+1 | |
| 2024-10-29 | update tools | lcnr | -1/+1 | |
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-08-24 | Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup | Jason Newcomb | -10/+6 | |
| 2024-07-21 | Fix tools | Michael Goulet | -2/+3 | |
| 2024-06-13 | Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2024-04-17 | has_typeck_results doesnt need to be a query | Michael Goulet | -3/+3 | |
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -4/+2 | |
| clippy-subtree-update | ||||
| 2024-03-22 | Programmatically convert some of the pat ctors | Michael Goulet | -1/+1 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -3/+4 | |
| 2023-08-04 | Improve spans for indexing expressions | Nilstrieb | -1/+1 | |
| Indexing is similar to method calls in having an arbitrary left-hand-side and then something on the right, which is the main part of the expression. Method calls already have a span for that right part, but indexing does not. This means that long method chains that use indexing have really bad spans, especially when the indexing panics and that span in coverted into a panic location. This does the same thing as method calls for the AST and HIR, storing an extra span which is then put into the `fn_span` field in THIR. | ||||
| 2023-07-17 | Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup | Philipp Krones | -5/+4 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -3/+3 | |
| 2023-04-11 | Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup | Philipp Krones | -3/+15 | |
| 2023-03-24 | Merge commit 'd5e2a7aca55ed49fc943b7a07a8eba05ab5a0079' into clippyup | Philipp Krones | -4/+1 | |
| 2023-03-22 | rustc: Remove unused `Session` argument from some attribute functions | Vadim Petrochenkov | -3/+3 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -3/+3 | |
| 2023-01-28 | Take a LocalDefId in hir::Visitor::visit_fn. | Camille GILLOT | -11/+11 | |
| 2022-11-21 | Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup | Philipp Krones | -19/+11 | |
| 2022-10-29 | Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errors | Guillaume Gomez | -1/+1 | |
| Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functions Functions in answer: - `Ty::is_freeze` - `Ty::is_sized` - `Ty::is_unpin` - `Ty::is_copy_modulo_regions` This allows to remove a lot of useless `.at(DUMMY_SP)`, making the code a bit nicer :3 r? `@compiler-errors` | ||||
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -10/+10 | |
| 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-27 | Update tooling | Maybe Waffle | -1/+1 | |
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -4/+4 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-23 | Merge commit '4f142aa1058f14f153f8bfd2d82f04ddb9982388' into clippyup | flip1995 | -4/+6 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -46/+36 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -10/+10 | |
| 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-09-09 | Merge commit 'b52fb5234cd7c11ecfae51897a6f7fa52e8777fc' into clippyup | Philipp Krones | -1/+1 | |
| 2022-09-05 | separate the receiver from arguments in HIR under /clippy | Takayuki Maeda | -1/+19 | |
| 2022-05-10 | update clippy | lcnr | -4/+4 | |
| 2022-05-05 | Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup | flip1995 | -7/+2 | |
| 2022-04-29 | errors: `span_suggestion` takes `impl ToString` | David Wood | -1/+1 | |
| Change `span_suggestion` (and variants) to take `impl ToString` rather than `String` for the suggested code, as this simplifies the requirements on the diagnostic derive. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2022-03-11 | Improve `AdtDef` interning. | Nicholas Nethercote | -2/+2 | |
| This commit makes `AdtDef` use `Interned`. Much the commit is tedious changes to introduce getter functions. The interesting changes are in `compiler/rustc_middle/src/ty/adt.rs`. | ||||
| 2022-02-21 | update clippy | lcnr | -1/+1 | |
| 2022-01-21 | Remove a span from hir::ExprKind::MethodCall | Cameron Steffen | -1/+1 | |
| 2022-01-16 | Fix Visitor::NestedFilter in Clippy | Cameron Steffen | -7/+0 | |
| 2022-01-15 | Return a LocalDefId in get_parent_item. | Camille GILLOT | -1/+1 | |
| 2022-01-13 | Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup | flip1995 | -3/+3 | |
| 2021-09-08 | Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup | flip1995 | -1/+0 | |
| 2021-07-31 | Fix clippy | Vadim Petrochenkov | -9/+9 | |
| 2021-06-03 | Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup | flip1995 | -1/+1 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -0/+272 | |
