| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-12 | rustc_passes: Enforce `rustc::potential_query_instability` lint | Martin Nordholts | -0/+3 | |
| Stop allowing `rustc::potential_query_instability` in all of `rustc_passes` and instead allow it on a case-by-case basis if it is safe. In this case, all instances of the lint are safe to allow. | ||||
| 2023-11-26 | rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` ↵ | Vadim Petrochenkov | -2/+2 | |
| cleanup | ||||
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -5/+5 | |
| `x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now. | ||||
| 2023-11-20 | Store feature stability un-split | Michael Goulet | -10/+8 | |
| 2023-11-20 | Unify defined_lib_features and lib_features queries | Michael Goulet | -13/+12 | |
| 2023-11-15 | Re-format code with new rustfmt | Mark Rousskov | -1/+4 | |
| 2023-10-30 | Add method for checking if deprecation is a rustc version | David Tolnay | -8/+2 | |
| 2023-10-30 | Represent absence of 'since' attribute as a variant of DeprecatedSince | David Tolnay | -2/+2 | |
| 2023-10-29 | Store version of `deprecated` attribute in structured form | David Tolnay | -34/+15 | |
| 2023-10-29 | Rename Since -> StableSince in preparation for a DeprecatedSince | David Tolnay | -4/+4 | |
| 2023-10-26 | Pre-intern a symbol for env!("CFG_RELEASE") | David Tolnay | -3/+3 | |
| 2023-10-24 | Keep track of #[stable] attribute even if version cannot be parsed | David Tolnay | -0/+4 | |
| 2023-10-24 | Store 'since' attribute as parsed Version | David Tolnay | -29/+31 | |
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -3/+6 | |
| 2023-08-15 | Rollup merge of #114772 - fee1-dead-contrib:typed-did, r=b-naber | Guillaume Gomez | -2/+2 | |
| Add `{Local}ModDefId` to more strongly type DefIds` Based on #110862 by `@Nilstrieb` | ||||
| 2023-08-14 | Use `{Local}ModDefId` in many queries | Nilstrieb | -2/+2 | |
| 2023-08-11 | rustc: Move `features` from `Session` to `GlobalCtxt` | Vadim Petrochenkov | -1/+1 | |
| Removes two pieces of mutable state. Follow up to #114622. | ||||
| 2023-08-06 | lower impl const to bind to host effect param | Deadbeef | -8/+2 | |
| 2023-07-12 | Re-format let-else per rustfmt update | Mark Rousskov | -1/+3 | |
| 2023-05-24 | Use `is_some_and`/`is_ok_and` in less obvious spots | Maybe Waffle | -9/+6 | |
| 2023-05-24 | Use `Option::is_some_and` and `Result::is_ok_and` in the compiler | Maybe Waffle | -5/+3 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -1/+2 | |
| 2023-04-26 | Migrate `rustc_passes` to translatable diagnostics | clubby789 | -27/+15 | |
| 2023-04-09 | Migrate `sess.opts.tests` uses to `sess.is_test_crate()` | blyxyas | -1/+1 | |
| 2023-03-23 | Separate find_*_stability. | Camille GILLOT | -3/+5 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -8/+4 | |
| 2023-03-06 | Rollup merge of #107801 - davidtwco:stability-implies-const, r=Nilstrieb | Matthias Krüger | -0/+9 | |
| const_eval: `implies_by` in `rustc_const_unstable` Fixes #107605. Extend support for `implies_by` (from `#[stable]` and `#[unstable]`) to `#[rustc_const_stable]` and `#[rustc_const_unstable]`. cc ``@steffahn`` | ||||
| 2023-02-26 | Rollup merge of #108449 - fee1-dead-contrib:do_not_lint_unresolved, ↵ | Matthias Krüger | -1/+4 | |
| r=compiler-errors Do not lint ineffective unstable trait impl for unresolved trait | ||||
| 2023-02-25 | Do not lint unresolved trait for ineffective unstable trait impl | Deadbeef | -1/+4 | |
| 2023-02-22 | diagnostics: if AssocFn has self argument, describe as method | Michael Howell | -2/+2 | |
| Discussed in https://rust-lang.zulipchat.com/#narrow/stream/147480-t-compiler.2Fwg-diagnostics/topic/.22associated.20function.22.20vs.20.22method.22/near/329265515 This commit also changes the tooltips on rustdoc intra-doc links targeting methods. | ||||
| 2023-02-19 | Auto merge of #108128 - clubby789:builtin-derived-attr, r=jackh726 | bors | -1/+1 | |
| Properly check for builtin derived code Fixes #108122 | ||||
| 2023-02-16 | Properly check for builtin derives | clubby789 | -1/+1 | |
| 2023-02-16 | Replace some `then`s with some `then_some`s | Maybe Waffle | -1/+1 | |
| 2023-02-16 | `if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)` | Maybe Waffle | -1/+1 | |
| 2023-02-08 | const_eval: `implies_by` in `rustc_const_unstable` | David Wood | -0/+9 | |
| Extend support for `implies_by` (from `#[stable]` and `#[unstable]`) to `#[rustc_const_stable]` and `#[rustc_const_unstable]`. Signed-off-by: David Wood <david.wood@huawei.com> | ||||
| 2023-02-05 | rustc_passes: remove huge error imports | est31 | -24/+21 | |
| 2023-01-30 | Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`s | Maybe Waffle | -1/+1 | |
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -1/+2 | |
| 2023-01-17 | Remove double spaces after dots in comments | Maybe Waffle | -1/+1 | |
| 2022-12-20 | rustc: Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2022-12-01 | rustc_hir: Relax lifetime requirements on `Visitor::visit_path` | Vadim Petrochenkov | -2/+2 | |
| 2022-11-17 | Auto merge of #104170 - cjgillot:hir-def-id, r=fee1-dead | bors | -11/+11 | |
| Record `LocalDefId` in HIR nodes instead of a side table This is part of an attempt to remove the `HirId -> LocalDefId` table from HIR. This attempt is a prerequisite to creation of `LocalDefId` after HIR lowering (https://github.com/rust-lang/rust/pull/96840), by controlling how `def_id` information is accessed. This first part adds the information to HIR nodes themselves instead of a table. The second part is https://github.com/rust-lang/rust/pull/103902 The third part will be to make `hir::Visitor::visit_fn` take a `LocalDefId` as last parameter. The fourth part will be to completely remove the side table. | ||||
| 2022-11-13 | Store a LocalDefId in hir::Variant & hir::Field. | Camille GILLOT | -10/+10 | |
| 2022-11-13 | Store a LocalDefId in hir::GenericParam. | Camille GILLOT | -1/+1 | |
| 2022-11-12 | Use `derive_const` and rm manual StructuralEq impl | Deadbeef | -0/+8 | |
| 2022-10-29 | Rename some `OwnerId` fields. | Nicholas Nethercote | -12/+12 | |
| 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 | -6/+9 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-19 | Allow #[unstable] impl for fn() -> UnstableType. | Mara Bos | -7/+19 | |
| (But not fn() -> !, which is stable.) | ||||
| 2022-10-19 | Allow #[unstable] impls for fn() with unstable abi. | Mara Bos | -3/+8 | |
| 2022-10-07 | migrate stability.rs to translateable diagnostics | Nathan Stocks | -84/+46 | |
