diff options
| author | bors <bors@rust-lang.org> | 2024-05-28 18:21:24 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-28 18:21:24 +0000 |
| commit | 274499dd0ff53b81e93b80520f7afe25adaa2812 (patch) | |
| tree | d6217d2a53f9ba197558fa54675a461d3f37f91c /compiler/rustc_middle/src | |
| parent | 8c4db851a7bb64173832e6602638204ebbd373a8 (diff) | |
| parent | faabc74625dd42a16a2dbd7685e88c79df5095d4 (diff) | |
| download | rust-274499dd0ff53b81e93b80520f7afe25adaa2812.tar.gz rust-274499dd0ff53b81e93b80520f7afe25adaa2812.zip | |
Auto merge of #125665 - matthiaskrgr:rollup-srkx0v1, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #117671 (NVPTX: Avoid PassMode::Direct for args in C abi) - #125573 (Migrate `run-make/allow-warnings-cmdline-stability` to `rmake.rs`) - #125590 (Add a "Setup Python" action for github-hosted runners and remove unnecessary `CUSTOM_MINGW` environment variable) - #125598 (Make `ProofTreeBuilder` actually generic over `Interner`) - #125637 (rustfmt fixes) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_middle/src')
| -rw-r--r-- | compiler/rustc_middle/src/ty/context.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index 51bbe351218..c2219fba023 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -218,6 +218,13 @@ impl<'tcx> Interner for TyCtxt<'tcx> { self.check_and_mk_args(def_id, args) } + fn intern_canonical_goal_evaluation_step( + self, + step: solve::inspect::CanonicalGoalEvaluationStep<TyCtxt<'tcx>>, + ) -> &'tcx solve::inspect::CanonicalGoalEvaluationStep<TyCtxt<'tcx>> { + self.arena.alloc(step) + } + fn parent(self, def_id: Self::DefId) -> Self::DefId { self.parent(def_id) } |
