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>(
376
376
ty:: ParamEnv :: reveal_all ( ) ,
377
377
def_id,
378
378
fn_args,
379
- Some ( source_info. span ) ,
379
+ source_info. span ,
380
380
)
381
381
. polymorphize ( fx. tcx ) ;
382
382
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ use rustc_middle::ty::AssocKind;
4
4
use rustc_middle:: ty:: GenericArg ;
5
5
use rustc_session:: config:: { sigpipe, EntryFnType } ;
6
6
use rustc_span:: symbol:: Ident ;
7
+ use rustc_span:: DUMMY_SP ;
7
8
8
9
use crate :: prelude:: * ;
9
10
@@ -119,7 +120,7 @@ pub(crate) fn maybe_create_entry_wrapper(
119
120
ParamEnv :: reveal_all ( ) ,
120
121
report. def_id ,
121
122
tcx. mk_args ( & [ GenericArg :: from ( main_ret_ty) ] ) ,
122
- None ,
123
+ DUMMY_SP ,
123
124
)
124
125
. polymorphize ( tcx) ;
125
126
@@ -145,7 +146,7 @@ pub(crate) fn maybe_create_entry_wrapper(
145
146
ParamEnv :: reveal_all ( ) ,
146
147
start_def_id,
147
148
tcx. mk_args ( & [ main_ret_ty. into ( ) ] ) ,
148
- None ,
149
+ DUMMY_SP ,
149
150
)
150
151
. polymorphize ( tcx) ;
151
152
let start_func_id = import_function ( tcx, m, start_instance) ;
You can’t perform that action at this time.
0 commit comments