rust/compiler/rustc_middle/src
Stuart Cook caca3d4f1a
Rollup merge of #152520 - Zalathar:traits-cache, r=dingxiangfei2009
Don't use `DepContext` in `rustc_middle::traits::cache`

- A nice little simplification unlocked by https://github.com/rust-lang/rust/pull/152199.

---

This code is now in `rustc_middle`, and doesn't need any non-trivial methods, so it can just use `TyCtxt` directly instead.
2026-02-13 15:19:10 +11:00
..
dep_graph Rename trait DepNodeParams to DepNodeKey 2026-02-04 11:54:00 +11:00
hir hir_owner_parent optimized to inlined call for non-incremental build 2026-01-29 13:24:46 +07:00
hooks Use a hook to decouple rustc_mir_transform from rustc_mir_build 2026-01-10 22:14:35 +11:00
infer Use the name var_kinds more. 2026-01-08 13:37:34 +11:00
middle Convert to inline diagnostics in rustc_middle 2026-02-05 12:02:02 +01:00
mir Auto merge of #152321 - Zalathar:rollup-ezxwhfJ, r=Zalathar 2026-02-08 08:12:38 +00:00
query Change query proc macro to be more rust-analyzer friendly 2026-02-12 12:39:51 +01:00
thir THIR patterns: Explicitly distinguish &pin from plain &/&mut 2026-01-20 13:41:32 +11:00
traits Don't use DepContext in rustc_middle::traits::cache 2026-02-12 18:30:16 +11:00
ty Rollup merge of #152396 - ShoyuVanilla:uplift-allow-normalize, r=lcnr 2026-02-10 13:00:49 +01:00
util Fix references and remove inner queries module 2026-02-03 21:32:52 +01:00
arena.rs Rename DepKindStruct to DepKindVTable 2026-01-24 18:22:14 +11:00
error.rs Port rustc_strict_coherence to the new attribute parser 2026-02-08 22:28:58 +01:00
lib.rs Stabilize assert_matches 2026-02-11 14:13:44 +01:00
lint.rs compiler/middle/lint: Suggest #[expect(dead_code)] as alternative to #[allow(dead_code)] 2025-12-26 08:38:20 +01:00
macros.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
metadata.rs resolve: Rename NameBinding(Data,Kind) to Decl(Data,Kind) 2026-01-06 18:21:37 +03:00
queries.rs Rollup merge of #152417 - Zalathar:arena-alloc, r=nnethercote 2026-02-10 13:00:47 +01:00
tests.rs Give an item related to issue 27438 a more meaningful name 2024-04-30 22:27:19 +02:00
thir.rs THIR patterns: Explicitly distinguish &pin from plain &/&mut 2026-01-20 13:41:32 +11:00