| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-02-15 | Overhaul `TyS` and `Ty`. | Nicholas Nethercote | -2/+2 | |
| 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-10 | Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup | flip1995 | -2/+6 | |
| 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 | |
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -54/+118 | |
| 2021-11-04 | Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup | flip1995 | -22/+26 | |
| 2021-10-21 | Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup | flip1995 | -0/+1 | |
| 2021-09-08 | Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup | flip1995 | -14/+22 | |
| 2021-08-12 | Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup | flip1995 | -3/+3 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -11/+9 | |
| 2021-07-19 | Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup | flip1995 | -0/+42 | |
| 2021-07-01 | Merge commit '61eb38aeda6cb54b93b872bf503d70084c4d621c' into clippyup | flip1995 | -2/+19 | |
| 2021-06-21 | Delete spaces | Alexander Melentyev | -2/+2 | |
| 2021-06-03 | Merge commit '3ae8faff4d46ad92f194c2a4b941c3152a701b31' into clippyup | flip1995 | -1/+1 | |
| 2021-05-20 | Merge commit '9e3cd88718cd1912a515d26dbd9c4019fd5a9577' into clippyup | flip1995 | -0/+2 | |
| 2021-05-06 | Merge commit 'b71f3405606d49b9735606b479c3415a0ca9810f' into clippyup | flip1995 | -2/+2 | |
| 2021-04-27 | Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup | flip1995 | -9/+15 | |
| 2021-04-22 | Merge commit '98e2b9f25b6db4b2680a3d388456d9f95cb28344' into clippyup | flip1995 | -1/+1 | |
| 2021-04-08 | Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup | flip1995 | -23/+37 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -2/+2 | |
| 2021-03-12 | Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup | flip1995 | -1/+13 | |
| 2021-02-25 | Merge commit '928e72dd10749875cbd412f74bfbfd7765dbcd8a' into clippyup | flip1995 | -8/+12 | |
| 2021-02-02 | Merge commit '3e4179766bcecd712824da04356621b8df012ea4' into sync-from-clippy | Manish Goregaokar | -6/+6 | |
| 2021-01-30 | Merge commit '95c0459217d1661edfa794c8bb122452b92fb485' into clippyup | flip1995 | -0/+96 | |
| 2021-01-15 | Merge commit '953f024793dab92745fee9cd2c4dee6a60451771' into clippyup | flip1995 | -3/+242 | |
| 2020-12-20 | Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup | flip1995 | -38/+66 | |
| 2020-11-23 | Merge commit '3e7c6dec244539970b593824334876f8b6ed0b18' into clippyup | flip1995 | -2/+19 | |
| 2020-11-05 | Merge commit 'b20d4c155d2fe3a8391f86dcf9a8c49e17188703' into clippyup | flip1995 | -1/+1 | |
| 2020-10-23 | Merge commit 'bf1c6f9871f430e284b17aa44059e0d0395e28a6' into clippyup | Eduardo Broto | -27/+62 | |
| 2020-10-09 | Merge commit '2f6439ae6a6803d030cceb3ee14c9150e91b328b' into clippyup | flip1995 | -1/+8 | |
| 2020-09-24 | Merge commit 'e636b88aa180e8cab9e28802aac90adbc984234d' into clippyup | flip1995 | -3/+3 | |
| 2020-08-28 | Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup | flip1995 | -0/+6 | |
| 2020-08-11 | Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup | flip1995 | -11/+122 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -8/+8 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -8/+8 | |
| 2020-06-26 | rustc_lint: only query `typeck_tables_of` when a lint needs it. | Eduard-Mihai Burtescu | -8/+8 | |
| 2020-06-09 | Merge commit 'ff0993c5e9162ddaea78e83d0f0161e68bd4ea73' into clippy | Lzu Tao | -50/+98 | |
| 2020-05-28 | Merge commit '7ea7cd165ad6705603852771bf82cc2fd6560db5' into clippyup2 | flip1995 | -2/+175 | |
| 2020-05-02 | Add 'src/tools/clippy/' from commit 'd2708873ef711ec8ab45df1e984ecf24a96cd369' | Oliver Scherer | -0/+716 | |
| git-subtree-dir: src/tools/clippy git-subtree-mainline: 06c44816c1532e5ff08ad072f581fc068eb60e2e git-subtree-split: d2708873ef711ec8ab45df1e984ecf24a96cd369 | ||||
