diff options
| author | bors <bors@rust-lang.org> | 2024-06-01 19:07:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-01 19:07:03 +0000 |
| commit | 0038c021031ce9f1ec2329469c8d85d0e681ef8f (patch) | |
| tree | 853b54354c4fef97dcbf8c5d0a3c44644836ead0 /compiler/rustc_codegen_gcc | |
| parent | a94483a5f2bae907bc898fc7a8d9cc87db47b693 (diff) | |
| parent | 333458c2cbafbea22480075decc4a827f913a020 (diff) | |
| download | rust-0038c021031ce9f1ec2329469c8d85d0e681ef8f.tar.gz rust-0038c021031ce9f1ec2329469c8d85d0e681ef8f.zip | |
Auto merge of #125775 - compiler-errors:uplift-closure-args, r=lcnr
Uplift `{Closure,Coroutine,CoroutineClosure}Args` and friends to `rustc_type_ir`
Part of converting the new solver's `structural_traits.rs` to be interner-agnostic.
I decided against aliasing `ClosureArgs<TyCtxt<'tcx>>` to `ClosureArgs<'tcx>` because it seemed so rare. I could do so if desired, though.
r? lcnr
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/type_of.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/type_of.rs b/compiler/rustc_codegen_gcc/src/type_of.rs index 2155cabe171..a88d50cb434 100644 --- a/compiler/rustc_codegen_gcc/src/type_of.rs +++ b/compiler/rustc_codegen_gcc/src/type_of.rs @@ -5,7 +5,7 @@ use rustc_codegen_ssa::traits::{BaseTypeMethods, DerivedTypeMethods, LayoutTypeM use rustc_middle::bug; use rustc_middle::ty::layout::{LayoutOf, TyAndLayout}; use rustc_middle::ty::print::with_no_trimmed_paths; -use rustc_middle::ty::{self, Ty, TypeVisitableExt}; +use rustc_middle::ty::{self, CoroutineArgsExt, Ty, TypeVisitableExt}; use rustc_target::abi::call::{CastTarget, FnAbi, Reg}; use rustc_target::abi::{ self, Abi, Align, FieldsShape, Float, Int, Integer, PointeeInfo, Pointer, Size, TyAbiInterface, |
