| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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-02-02 | Convert two `rustc_middle::lint` functions to `Span` methods. | Nicholas Nethercote | -2/+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-09 | Merge commit '19e305bb57a7595f2a8d81f521c0dd8bf854e739' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2025-01-04 | turn hir::ItemKind::Fn into a named-field variant | Ralf Jung | -1/+1 | |
| 2024-12-15 | Add hir::Attribute | Jonathan Dönszelmann | -2/+2 | |
| 2024-11-04 | ty::KContainer -> ty::AssocItemContainer::K | Michael Goulet | -3/+3 | |
| 2024-10-04 | Adapt clippy. | Camille GILLOT | -1/+0 | |
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-05-30 | Merge commit 'c9139bd546d9cd69df817faeab62c5f9b1a51337' into ↵ | Philipp Krones | -7/+12 | |
| clippy-subtree-update | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2023-12-10 | remove redundant imports | surechen | -1/+1 | |
| detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR. | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-03 | Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb | bors | -2/+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/+1 | |
| 2023-11-02 | Minimize `pub` usage in `source_map.rs`. | Nicholas Nethercote | -2/+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-08-09 | rustc: Move `crate_types` from `Session` to `GlobalCtxt` | Vadim Petrochenkov | -1/+0 | |
| Removes a piece of mutable state. Follow up to #114578. | ||||
| 2023-06-01 | Rename `impl_defaultness` to `defaultness` | Deadbeef | -1/+1 | |
| 2023-01-14 | change impl_trait_ref query to return EarlyBinder; remove ↵ | Kyle Matsuda | -1/+1 | |
| bound_impl_trait_ref query; add EarlyBinder to impl_trait_ref in metadata | ||||
| 2023-01-14 | change usages of impl_trait_ref to bound_impl_trait_ref | Kyle Matsuda | -1/+1 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -5/+5 | |
| 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 | -3/+3 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-10 | Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8Ki | Yuki Okushi | -1/+1 | |
| rename `ImplItemKind::TyAlias` to `ImplItemKind::Type` The naming of this variant seems inconsistent given that this is not really a "type alias", and the associated type variant for `TraitItemKind` is just called `Type`. | ||||
| 2022-10-09 | ImplItemKind::TyAlias => ImplItemKind::Type | Michael Goulet | -1/+1 | |
| 2022-10-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -1/+1 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -3/+3 | |
| 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 | Appease clippy again | Michael Goulet | -1/+0 | |
| 2022-09-09 | Make clippy happy | Michael Goulet | -0/+1 | |
| 2022-08-01 | Remove DefId from AssocItemContainer. | Camille GILLOT | -3/+5 | |
| 2022-08-01 | Store associated item defaultness in impl_defaultness. | Camille GILLOT | -1/+1 | |
| 2022-05-05 | Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup | flip1995 | -2/+2 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+1 | |
| 2021-10-21 | Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup | flip1995 | -1/+1 | |
| 2021-08-28 | Teach tools that macros are now HIR items | inquisitivecrystal | -0/+1 | |
| 2021-07-31 | Fix clippy | Vadim Petrochenkov | -3/+3 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -5/+5 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -1/+1 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -1/+1 | |
| 2021-03-12 | Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup | flip1995 | -4/+4 | |
| 2021-03-09 | Remove hir::Item::attrs. | Camille GILLOT | -1/+2 | |
| 2021-03-09 | Remove hir::ImplItem::attrs. | Camille GILLOT | -1/+2 | |
| 2021-03-09 | Remove hir::TraitItem::attrs. | Camille GILLOT | -1/+2 | |
| 2021-02-15 | Only store a LocalDefId in hir::ImplItem. | Camille GILLOT | -4/+3 | |
| 2021-02-15 | Only store a LocalDefId in hir::Item. | Camille GILLOT | -1/+1 | |
| Items are guaranteed to be HIR owner. | ||||
| 2021-02-15 | Use ItemId as a strongly typed index. | Camille GILLOT | -1/+1 | |
| 2020-11-26 | Remove ForeignMod struct. | Camille GILLOT | -1/+1 | |
| 2020-11-05 | Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup | flip1995 | -1/+2 | |
| 2020-08-04 | rustc_ast: `(Nested)MetaItem::check_name` -> `has_name` | Vadim Petrochenkov | -1/+1 | |
| For consistency with `Attribute::has_name` which doesn't mark the attribute as used either. Replace all uses of `check_name` with `has_name` outside of rustc | ||||
| 2020-07-14 | Merge commit '2ca58e7dda4a9eb142599638c59dc04d15961175' into clippyup | flip1995 | -4/+5 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -5/+5 | |
