| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-02-06 | Merge remote-tracking branch 'upstream/master' into rustup | Philipp Krones | -1/+1 | |
| 2025-01-30 | introduce `ty::Value` | Lukas Markeffsky | -3/+2 | |
| Co-authored-by: FedericoBruzzone <federico.bruzzone.i@gmail.com> | ||||
| 2024-11-30 | Remove hir::ArrayLen, introduce ConstArgKind::Infer | Dominik Stolz | -3/+3 | |
| Remove Node::ArrayLenInfer | ||||
| 2024-10-18 | Merge commit 'a109190d7060236e655fc75533373fa274ec5343' into ↵ | Philipp Krones | -1/+18 | |
| clippy-subtree-update | ||||
| 2024-09-24 | Merge commit '7901289135257ca0fbed3a5522526f95b0f5edba' into ↵ | Philipp Krones | -1/+1 | |
| clippy-subtree-update | ||||
| 2024-07-25 | Merge commit '37f4fbb92913586b73a35772efd00eccd1cbbe13' into ↵ | Philipp Krones | -6/+6 | |
| clippy-subtree-update | ||||
| 2024-07-16 | Use `ConstArg` for array lengths | Noah Lev | -5/+4 | |
| 2024-06-10 | ScalarInt: size mismatches are a bug, do not delay the panic | Ralf Jung | -1/+1 | |
| 2024-06-05 | Misc fixes to cranelift/clippy/miri | Boxy | -1/+1 | |
| 2024-05-02 | Merge commit '20b085d500dfba5afe0869707bf357af3afe20be' into ↵ | Philipp Krones | -10/+55 | |
| clippy-subtree-update | ||||
| 2024-04-04 | Merge commit '9725c4a162502a02c1c67fdca6b797fe09b2b73c' into ↵ | Philipp Krones | -2/+2 | |
| clippy-subtree-update | ||||
| 2023-12-01 | Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync | Philipp Krones | -1/+1 | |
| 2023-11-02 | Merge commit '09ac14c901abc43bd0d617ae4a44e8a4fed98d9c' into clippyup | Philipp Krones | -22/+30 | |
| 2023-06-02 | Merge commit '30448e8cf98d4754350db0c959644564f317bc0f' into clippyup | Philipp Krones | -1/+1 | |
| 2023-02-15 | Use target instead of machine for mir interpreter integer handling. | Oli Scherer | -1/+1 | |
| The naming of `machine` only makes sense from a mir interpreter internals perspective, but outside users talk about the `target` platform | ||||
| 2022-12-29 | Merge commit '4f3ab69ea0a0908260944443c739426cc384ae1a' into clippyup | Philipp Krones | -3/+3 | |
| 2022-09-21 | Merge commit '7248d06384c6a90de58c04c1f46be88821278d8b' into sync-from-clippy | David Koloski | -26/+24 | |
| 2022-06-14 | implement valtrees as the type-system representation for constant values | b-naber | -3/+2 | |
| 2022-06-14 | Rename the `ConstS::val` field as `kind`. | Nicholas Nethercote | -1/+1 | |
| And likewise for the `Const::val` method. Because its type is called `ConstKind`. Also `val` is a confusing name because `ConstKind` is an enum with seven variants, one of which is called `Value`. Also, this gives consistency with `TyS` and `PredicateS` which have `kind` fields. The commit also renames a few `Const` variables from `val` to `c`, to avoid confusion with the `ConstKind::Value` variant. | ||||
| 2022-02-15 | Overhaul `Const`. | Nicholas Nethercote | -1/+1 | |
| Specifically, rename the `Const` struct as `ConstS` and re-introduce `Const` as this: ``` pub struct Const<'tcx>(&'tcx Interned<ConstS>); ``` This now matches `Ty` and `Predicate` more closely, including using pointer-based `eq` and `hash`. Notable changes: - `mk_const` now takes a `ConstS`. - `Const` was copy, despite being 48 bytes. Now `ConstS` is not, so need a we need separate arena for it, because we can't use the `Dropless` one any more. - Many `&'tcx Const<'tcx>`/`&Const<'tcx>` to `Const<'tcx>` changes - Many `ct.ty` to `ct.ty()` and `ct.val` to `ct.val()` changes. - Lots of tedious sigil fiddling. | ||||
| 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. | ||||
| 2021-12-06 | Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup | flip1995 | -0/+1 | |
| 2021-09-02 | rustc_target: move `LayoutOf` to `ty::layout`. | Eduard-Mihai Burtescu | -2/+1 | |
| 2021-07-29 | Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup | flip1995 | -5/+5 | |
| 2021-03-25 | Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup | flip1995 | -3/+3 | |
| 2020-12-06 | Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup | flip1995 | -2/+1 | |
| 2020-09-04 | `ty.kind` -> `ty.kind()` in rustdoc and clippy | LeSeulArtichaut | -1/+1 | |
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -1/+1 | |
| 2020-07-03 | Use 'tcx for references to AccessLevels wherever possible. | Eduard-Mihai Burtescu | -2/+2 | |
| 2020-06-26 | rustc_lint: only query `typeck_tables_of` when a lint needs it. | Eduard-Mihai Burtescu | -1/+1 | |
| 2020-04-18 | Add an Option<Span> argument to span_lint_and_help. | xiongmao86 | -0/+1 | |
| 2020-03-30 | rustup https://github.com/rust-lang/rust/pull/70536 | Matthias Krüger | -2/+2 | |
| 2020-02-21 | Fix fallout | flip1995 | -1/+1 | |
| 2020-01-27 | Rename `span_help_and_lint` to `span_lint_and_help` | Yuki Okushi | -2/+2 | |
| 2020-01-13 | Rustup to rust-lang/rust#68045 | Yuki Okushi | -1/+1 | |
| 2020-01-11 | Rustup to rust-lang/rust#67806 | Yuki Okushi | -3/+2 | |
| 2020-01-07 | Normalize lint messages | Yuki Okushi | -1/+1 | |
| 2020-01-07 | Rustup to rust-lang/rust#67886 | Yuki Okushi | -1/+1 | |
| 2019-12-27 | Rustup to rust-lang/rust#66936 | Yuki Okushi | -1/+1 | |
| 2019-12-04 | Rustup to rust-lang/rust#66878 | Matthias Krüger | -1/+2 | |
| 2019-11-23 | Fix fallout | flip1995 | -2/+3 | |
| 2019-11-13 | Add new lint: large stack array | Areredify | -0/+67 | |
| added documentation minor style fix change as to ::from add ignore to doc include threshold in lint message/make suggestion more apparent/use Scalar api instead of matching style fix shange snippet_opt to snippet | ||||
