| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-20 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -3/+11 | |
| 2025-02-18 | Move methods from `Map` to `TyCtxt`, part 2. | Nicholas Nethercote | -3/+3 | |
| 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 | Move some `Map` methods onto `TyCtxt`. | Nicholas Nethercote | -5/+5 | |
| 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-07 | clippy: directly use rustc_abi instead of reexports | Jubilee Young | -4/+4 | |
| 2025-02-02 | Convert two `rustc_middle::lint` functions to `Span` methods. | Nicholas Nethercote | -7/+4 | |
| `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 | -2/+2 | |
| clippy-subtree-update | ||||
| 2025-01-14 | Add hir::HeaderSafety to make follow up commits simpler | Oli Scherer | -4/+4 | |
| 2025-01-04 | turn hir::ItemKind::Fn into a named-field variant | Ralf Jung | -2/+7 | |
| 2024-12-26 | Merge commit '609cd310be44677ae31d452a17b0f8207e1abfe1' into ↵ | Philipp Krones | -24/+74 | |
| clippy-subtree-update | ||||
| 2024-12-15 | Add hir::Attribute | Jonathan Dönszelmann | -2/+1 | |
| 2024-12-14 | Add some convenience helper methods on `hir::Safety` | Oli Scherer | -4/+4 | |
| 2024-11-19 | move `fn is_item_raw` to `TypingEnv` | lcnr | -1/+1 | |
| 2024-11-14 | Merge commit '786fbd6d683933cd0e567fdcd25d449a69b4320c' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-11-07 | Merge commit 'f712eb5cdccd121d0569af12f20e6a0fabe4364d' into ↵ | Philipp Krones | -4/+4 | |
| clippy-subtree-update | ||||
| 2024-10-29 | update tools | lcnr | -1/+1 | |
| 2024-10-03 | Merge commit 'aa0d551351a9c15d8a95fdb3e2946b505893dda8' into ↵ | Philipp Krones | -0/+182 | |
| clippy-subtree-update | ||||
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -6/+6 | |
| clippy-subtree-update | ||||
| 2024-08-24 | Merge commit '0f8eabd6231366bfc1bb1464601297c2d48f8f68' into clippyup | Jason Newcomb | -62/+56 | |
| 2024-07-25 | Merge commit '37f4fbb92913586b73a35772efd00eccd1cbbe13' into ↵ | Philipp Krones | -24/+13 | |
| clippy-subtree-update | ||||
| 2024-07-21 | Fix tools | Michael Goulet | -2/+3 | |
| 2024-07-11 | Merge commit 'b794b8e08c16517a941dc598bb1483e8e12a8592' into ↵ | Philipp Krones | -4/+4 | |
| clippy-subtree-update | ||||
| 2024-06-13 | Merge commit '3e5a02b13b1244545454752c6629b767522a44b1' into ↵ | Philipp Krones | -4/+4 | |
| clippy-subtree-update | ||||
| 2024-05-30 | Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into ↵ | Philipp Krones | -6/+7 | |
| clippy-subtree-update | ||||
| 2024-05-21 | Merge commit '2efebd2f0c03dabbe5c3ad7b4ebfbd99238d1fb2' into ↵ | Philipp Krones | -3/+166 | |
| clippy-subtree-update | ||||
| 2024-05-17 | Rename Unsafe to Safety | Santiago Pastorino | -10/+10 | |
| 2024-04-17 | has_typeck_results doesnt need to be a query | Michael Goulet | -3/+3 | |
| 2024-04-16 | Avoid lots of `hir::HirId{,Map,Set}` qualifiers. | Nicholas Nethercote | -2/+2 | |
| Because they're a bit redundant. | ||||
| 2024-04-16 | Always use `ty::` qualifier for `TyKind` enum variants. | Nicholas Nethercote | -3/+3 | |
| Because that's the way it should be done. | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -8/+6 | |
| clippy-subtree-update | ||||
| 2024-03-27 | Implement `mut ref`/`mut ref mut` | Jules Bertholet | -2/+2 | |
| 2024-03-22 | Programmatically convert some of the pat ctors | Michael Goulet | -2/+2 | |
| 2024-03-21 | Merge commit '9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-03-14 | hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` | Vadim Petrochenkov | -1/+1 | |
| Also replace a few `hir_node()` calls with `hir_node_by_def_id()` | ||||
| 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-02-10 | hir: Remove `hir::Map::{opt_parent_id,parent_id,get_parent,find_parent}` | Vadim Petrochenkov | -2/+2 | |
| 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 | -1/+1 | |
| 2023-11-26 | rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` ↵ | Vadim Petrochenkov | -1/+1 | |
| cleanup | ||||
| 2023-11-17 | rename bound region instantiation | lcnr | -1/+1 | |
| - `erase_late_bound_regions` -> `instantiate_bound_regions_with_erased` - `replace_late_bound_regions_X` -> `instantiate_bound_regions_X` | ||||
| 2023-11-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -117/+94 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -16/+19 | |
| 2023-10-21 | Merge commit '2b030eb03d9e5837440b1ee0b98c50b97c0c5889' into clippyup | Philipp Krones | -37/+101 | |
| 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 | -16/+20 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -6/+6 | |
| 2023-05-05 | Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup | Philipp Krones | -2/+7 | |
| 2023-04-23 | Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup | Philipp Krones | -1/+1 | |
| 2023-04-11 | Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup | Philipp Krones | -3/+15 | |
| 2023-03-24 | Merge commit 'd5e2a7aca55ed49fc943b7a07a8eba05ab5a0079' into clippyup | Philipp Krones | -4/+1 | |
