File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ use indexmap::IndexSet;
1919use rustc_codegen_ssa:: debuginfo:: type_names;
2020use rustc_hir:: def:: DefKind ;
2121use rustc_hir:: def_id:: DefIdMap ;
22+ use rustc_middle:: ty:: Unnormalized ;
2223use rustc_session:: Session ;
2324use rustc_session:: config:: DebugInfo ;
2425use rustc_span:: { RemapPathScopeComponents , SourceFileHash , StableSourceFileId } ;
@@ -244,7 +245,10 @@ impl DebugContext {
244245
245246 type_names:: push_generic_args (
246247 tcx,
247- tcx. normalize_erasing_regions ( ty:: TypingEnv :: fully_monomorphized ( ) , args) ,
248+ tcx. normalize_erasing_regions (
249+ ty:: TypingEnv :: fully_monomorphized ( ) ,
250+ Unnormalized :: new_wip ( args) ,
251+ ) ,
248252 & mut name,
249253 ) ;
250254
Original file line number Diff line number Diff line change 11use cranelift_frontend:: { FunctionBuilder , FunctionBuilderContext } ;
22use rustc_hir:: LangItem ;
3- use rustc_middle:: ty:: { AssocTag , GenericArg } ;
3+ use rustc_middle:: ty:: { AssocTag , GenericArg , Unnormalized } ;
44use rustc_session:: config:: EntryFnType ;
55use rustc_span:: { DUMMY_SP , Ident } ;
66
@@ -50,7 +50,7 @@ pub(crate) fn maybe_create_entry_wrapper(
5050 // listing.
5151 let main_ret_ty = tcx. normalize_erasing_regions (
5252 ty:: TypingEnv :: fully_monomorphized ( ) ,
53- main_ret_ty. no_bound_vars ( ) . unwrap ( ) ,
53+ Unnormalized :: new_wip ( main_ret_ty. no_bound_vars ( ) . unwrap ( ) ) ,
5454 ) ;
5555
5656 let cmain_sig = Signature {
You can’t perform that action at this time.
0 commit comments