File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ pub(crate) fn codegen_terminator_call<'tcx>(
376376 ty:: ParamEnv :: reveal_all ( ) ,
377377 def_id,
378378 fn_args,
379- Some ( source_info. span ) ,
379+ source_info. span ,
380380 )
381381 . polymorphize ( fx. tcx ) ;
382382
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use rustc_middle::ty::AssocKind;
44use rustc_middle:: ty:: GenericArg ;
55use rustc_session:: config:: { sigpipe, EntryFnType } ;
66use rustc_span:: symbol:: Ident ;
7+ use rustc_span:: DUMMY_SP ;
78
89use crate :: prelude:: * ;
910
@@ -119,7 +120,7 @@ pub(crate) fn maybe_create_entry_wrapper(
119120 ParamEnv :: reveal_all ( ) ,
120121 report. def_id ,
121122 tcx. mk_args ( & [ GenericArg :: from ( main_ret_ty) ] ) ,
122- None ,
123+ DUMMY_SP ,
123124 )
124125 . polymorphize ( tcx) ;
125126
@@ -145,7 +146,7 @@ pub(crate) fn maybe_create_entry_wrapper(
145146 ParamEnv :: reveal_all ( ) ,
146147 start_def_id,
147148 tcx. mk_args ( & [ main_ret_ty. into ( ) ] ) ,
148- None ,
149+ DUMMY_SP ,
149150 )
150151 . polymorphize ( tcx) ;
151152 let start_func_id = import_function ( tcx, m, start_instance) ;
You can’t perform that action at this time.
0 commit comments