| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-28 | Merge commit 'ac4c2094a6030530661bee3876e0228ddfeb6b8b' into clippy-subtree-sync | Philipp Krones | -2/+2 | |
| 2023-12-15 | Appease the tools: clippy, rustdoc | Michael Goulet | -4/+6 | |
| 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-16 | Merge commit 'edb720b199083f4107b858a8761648065bf38d86' into clippyup | Philipp Krones | -33/+28 | |
| 2023-11-03 | Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb | bors | -1/+2 | |
| `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 | -14/+21 | |
| 2023-11-02 | Minimize `pub` usage in `source_map.rs`. | Nicholas Nethercote | -1/+2 | |
| 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-09-25 | Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyup | Philipp Krones | -0/+8 | |
| 2023-07-31 | Merge commit '5436dba826191964ac1d0dab534b7eb6d4c878f6' into clippyup | Philipp Krones | -3/+27 | |
| 2023-07-17 | Merge commit 'd9c24d1b1ee61f276e550b967409c9f155eac4e3' into clippyup | Philipp Krones | -10/+14 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -2/+2 | |
| 2023-05-05 | Merge commit '371120bdbf58a331db5dcfb2d9cddc040f486de8' into clippyup | Philipp Krones | -1/+1 | |
| 2023-04-23 | Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup | Philipp Krones | -10/+12 | |
| 2023-03-10 | Merge commit '3c06e0b1ce003912f8fe0536d3a7fe22558e38cf' into clippyup | Philipp Krones | -30/+95 | |
| 2023-02-10 | Merge commit '0f7558148c22e53cd4608773b56cdfa50dcdeac3' into clippyup | Philipp Krones | -2/+15 | |
| 2023-01-26 | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add ↵ | Kyle Matsuda | -5/+5 | |
| EarlyBinder to fn_sig in metadata | ||||
| 2023-01-26 | replace usages of fn_sig query with bound_fn_sig | Kyle Matsuda | -5/+5 | |
| 2023-01-19 | Use UnordSet instead of FxHashSet in define_id_collections!(). | Michael Woerister | -1/+1 | |
| 2022-12-29 | Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup | Philipp Krones | -1/+1 | |
| 2022-12-17 | Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup | Philipp Krones | -6/+14 | |
| 2022-12-13 | Combine projection and opaque into alias | Michael Goulet | -1/+1 | |
| 2022-12-13 | ProjectionTy.item_def_id -> ProjectionTy.def_id | Michael Goulet | -1/+1 | |
| 2022-11-21 | Merge commit 'f4850f7292efa33759b4f7f9b7621268979e9914' into clippyup | Philipp Krones | -2/+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-06 | Merge commit 'ac0e10aa68325235069a842f47499852b2dee79e' into clippyup | Philipp Krones | -22/+16 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -2/+2 | |
| 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 | -2/+14 | |
| 2022-09-05 | refactor: remove unnecessary variables | Takayuki Maeda | -3/+4 | |
| 2022-09-05 | separate the receiver from arguments in HIR under /clippy | Takayuki Maeda | -5/+5 | |
| 2022-05-23 | Lifetime variance fixes for clippy | Michael Goulet | -6/+6 | |
| 2022-03-11 | Improve `AdtDef` interning. | Nicholas Nethercote | -7/+7 | |
| 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-15 | Overhaul `TyS` and `Ty`. | Nicholas Nethercote | -1/+1 | |
| Specifically, change `Ty` from this: ``` pub type Ty<'tcx> = &'tcx TyS<'tcx>; ``` to this ``` pub struct Ty<'tcx>(Interned<'tcx, TyS<'tcx>>); ``` There are two benefits to this. - It's now a first class type, so we can define methods on it. This means we can move a lot of methods away from `TyS`, leaving `TyS` as a barely-used type, which is appropriate given that it's not meant to be used directly. - The uniqueness requirement is now explicit, via the `Interned` type. E.g. the pointer-based `Eq` and `Hash` comes from `Interned`, rather than via `TyS`, which wasn't obvious at all. Much of this commit is boring churn. The interesting changes are in these files: - compiler/rustc_middle/src/arena.rs - compiler/rustc_middle/src/mir/visit.rs - compiler/rustc_middle/src/ty/context.rs - compiler/rustc_middle/src/ty/mod.rs Specifically: - Most mentions of `TyS` are removed. It's very much a dumb struct now; `Ty` has all the smarts. - `TyS` now has `crate` visibility instead of `pub`. - `TyS::make_for_test` is removed in favour of the static `BOOL_TY`, which just works better with the new structure. - The `Eq`/`Ord`/`Hash` impls are removed from `TyS`. `Interned`s impls of `Eq`/`Hash` now suffice. `Ord` is now partly on `Interned` (pointer-based, for the `Equal` case) and partly on `TyS` (contents-based, for the other cases). - There are many tedious sigil adjustments, i.e. adding or removing `*` or `&`. They seem to be unavoidable. | ||||
| 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-21 | Remove a span from hir::ExprKind::MethodCall | Cameron Steffen | -1/+1 | |
| 2022-01-13 | Merge commit '97a5daa65908e59744e2bc625b14849352231c75' into clippyup | flip1995 | -1/+1 | |
| 2022-01-07 | Update clippy for associated item changes | Matthew Jasper | -5/+7 | |
| 2021-12-30 | Merge commit '0eff589afc83e21a03a168497bbab6b4dfbb4ef6' into clippyup | flip1995 | -1/+1 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+3 | |
| 2021-10-07 | Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup | flip1995 | -8/+4 | |
| 2021-10-02 | Make diangostic item names consistent | Cameron Steffen | -2/+2 | |
| 2021-08-12 | Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup | flip1995 | -13/+10 | |
| 2021-07-31 | Fix clippy | Vadim Petrochenkov | -7/+3 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -15/+15 | |
| 2021-07-15 | Merge commit '54a20a02ecd0e1352a871aa0990bcc8b8b03173e' into clippyup | flip1995 | -2/+2 | |
| 2021-07-01 | Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup | flip1995 | -5/+7 | |
| 2021-06-03 | Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup | flip1995 | -2/+2 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -25/+74 | |
