| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-23 | Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor` | Boxy | -2/+2 | |
| 2024-12-18 | Re-export more `rustc_span::symbol` things from `rustc_span`. | Nicholas Nethercote | -1/+1 | |
| `rustc_span::symbol` defines some things that are re-exported from `rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some closely related things such as `Ident` and `kw`. So you can do `use rustc_span::{Symbol, sym}` but you have to do `use rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good reason. This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`, and changes many `rustc_span::symbol::` qualifiers in `compiler/` to `rustc_span::`. This is a 200+ net line of code reduction, mostly because many files with two `use rustc_span` items can be reduced to one. | ||||
| 2024-11-04 | ty::KContainer -> ty::AssocItemContainer::K | Michael Goulet | -4/+4 | |
| 2024-10-31 | Auto merge of #131186 - compiler-errors:precise-capturing-borrowck, r=estebank | bors | -3/+1 | |
| Try to point out when edition 2024 lifetime capture rules cause borrowck issues Lifetime capture rules in 2024 are modified to capture more lifetimes, which sometimes lead to some non-local borrowck errors. This PR attempts to link these back together with a useful note pointing out the capture rule changes. This is not a blocking concern, but I'd appreciate feedback (though, again, I'd like to stress that I don't want to block this PR on this): I'm worried about this note drowning in the sea of other diagnostics that borrowck emits. I was tempted to change the level of the note to `.span_warn` just so it would show up in a different color. Thoughts? Fixes #130545 Opening as a draft first since it's stacked on #131183. r? `@ghost` | ||||
| 2024-10-31 | Encode cross-crate opaque type origin | Michael Goulet | -3/+1 | |
| 2024-10-31 | Auto merge of #132377 - matthiaskrgr:rollup-3p1c6hs, r=matthiaskrgr | bors | -4/+0 | |
| Rollup of 3 pull requests Successful merges: - #132368 (Remove `do_not_const_check` from `Iterator` methods) - #132373 (Make sure `type_param_predicates` resolves correctly for RPITIT) - #132374 (Remove dead code stemming from the old effects desugaring) r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2024-10-30 | Remove dead code stemming from the old effects desugaring | León Orell Valerian Liehr | -4/+0 | |
| 2024-10-30 | Remap impl-trait lifetimes on HIR instead of AST lowering. | Camille GILLOT | -1/+1 | |
| 2024-10-24 | Remove associated type based effects logic | Michael Goulet | -136/+3 | |
| 2024-10-23 | nightly feature tracking: get rid of the per-feature bool fields | Ralf Jung | -1/+1 | |
| 2024-10-04 | rm `ItemKind::OpaqueTy` | Noah Lev | -9/+6 | |
| This introduce an additional collection of opaques on HIR, as they can no longer be listed using the free item list. | ||||
| 2024-10-02 | Move in_trait into OpaqueTyOrigin | Michael Goulet | -2/+2 | |
| 2024-10-02 | Use named fields for OpaqueTyOrigin | Michael Goulet | -1/+2 | |
| 2024-10-02 | Remove redundant in_trait from hir::TyKind::OpaqueDef | Michael Goulet | -1/+1 | |
| 2024-06-28 | address review comments | Deadbeef | -65/+34 | |
| 2024-06-28 | general fixups and turn `TODO`s into `FIXME`s | Deadbeef | -2/+2 | |
| 2024-06-28 | temporarily disable effects on specialization tests | Deadbeef | -1/+6 | |
| 2024-06-28 | implement new effects desugaring | Deadbeef | -3/+165 | |
| 2024-05-13 | Remove `extern crate rustc_middle` from `rustc_ty_utils`. | Nicholas Nethercote | -0/+1 | |
| 2024-05-09 | Rename Generics::params to Generics::own_params | Michael Goulet | -5/+5 | |
| 2024-03-19 | Ensure nested statics have a HIR node to prevent various queries from ICEing | Oli Scherer | -25/+4 | |
| 2024-03-19 | The AssocOpaqueTy HIR node is not actually needed to differentiate from ↵ | Oli Scherer | -5/+3 | |
| other hir nodes that were fed | ||||
| 2024-03-15 | Rollup merge of #122513 - petrochenkov:somehir4, r=fmease | Guillaume Gomez | -5/+1 | |
| hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` Also replace a few `hir_node()` calls with `hir_node_by_def_id()`. Follow up to https://github.com/rust-lang/rust/pull/120943. | ||||
| 2024-03-14 | Fill in HIR hash for associated opaque types | Vadim Petrochenkov | -3/+9 | |
| 2024-03-14 | hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id` | Vadim Petrochenkov | -5/+1 | |
| Also replace a few `hir_node()` calls with `hir_node_by_def_id()` | ||||
| 2024-03-13 | Create some minimal HIR for associated opaque types | Vadim Petrochenkov | -8/+21 | |
| 2024-03-05 | Uplift some feeding out of associated_type_for_impl_trait_in_impl and into ↵ | Michael Goulet | -43/+4 | |
| queries | ||||
| 2023-12-12 | Move some methods from `tcx.hir()` to `tcx` | zetanumbers | -2/+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-03 | rustc: Harmonize `DefKind` and `DefPathData` | Vadim Petrochenkov | -5/+2 | |
| `DefPathData::(ClosureExpr,ImplTrait)` are renamed to match `DefKind::(Closure,OpaqueTy)`. `DefPathData::ImplTraitAssocTy` is replaced with `DefPathData::TypeNS(kw::Empty)` because both correspond to `DefKind::AssocTy`. It's possible that introducing `(DefKind,DefPathData)::AssocOpaqueTy` could be a better solution, but that would be a much more invasive change. Const generic parameters introduced for effects are moved from `DefPathData::TypeNS` to `DefPathData::ValueNS`, because constants are values. `DefPathData` is no longer passed to `create_def` functions to avoid redundancy. | ||||
| 2023-11-28 | resolve: Feed the `def_kind` query immediately on `DefId` creation | Vadim Petrochenkov | -6/+4 | |
| 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-25 | rustc: Make `def_kind` mandatory for all `DefId`s | Vadim Petrochenkov | -2/+2 | |
| 2023-11-21 | Fix `clippy::needless_borrow` in the compiler | Nilstrieb | -4/+4 | |
| `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 | Reduce exposure of some items. | Nicholas Nethercote | -1/+1 | |
| 2023-11-03 | compiler: use `copied` instead of manual `map` | DaniPopes | -2/+2 | |
| 2023-10-13 | Format all the let chains in compiler | Michael Goulet | -1/+2 | |
| 2023-07-27 | tighten span slightly for synthetic item | Michael Goulet | -2/+10 | |
| 2023-07-14 | refactor(rustc_middle): Substs -> GenericArg | Mahdi Dibaiee | -2/+2 | |
| 2023-07-12 | Re-format let-else per rustfmt update | Mark Rousskov | -1/+3 | |
| 2023-07-08 | Replace RPITIT current impl with new strategy that lowers as a GAT | Santiago Pastorino | -62/+46 | |
| 2023-07-05 | Move `TyCtxt::mk_x` to `Ty::new_x` where applicable | Boxy | -2/+3 | |
| 2023-07-04 | include `host_effect_index` in `Generics` | Deadbeef | -0/+2 | |
| 2023-06-29 | Add bidirectional where clauses on RPITIT synthesized GATs | Santiago Pastorino | -12/+0 | |
| 2023-06-22 | Move `opaque_type_origin_unchecked` onto `TyCtxt` and re-use it where it was ↵ | Oli Scherer | -1/+1 | |
| open coded | ||||
| 2023-06-01 | Rename `impl_defaultness` to `defaultness` | Deadbeef | -4/+4 | |
| 2023-05-29 | EarlyBinder::new -> EarlyBinder::bind | lcnr | -1/+1 | |
| 2023-05-28 | Replace EarlyBinder(x) with EarlyBinder::new(x) | Kyle Matsuda | -1/+1 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -2/+3 | |
| 2023-05-05 | Make generics_of has_self on RPITITs delegate to the opaque | Santiago Pastorino | -1/+1 | |
| 2023-03-29 | Walk return-position impl trait in trait deeply in associated_item_def_ids | Michael Goulet | -16/+19 | |
