Give Instance::expect_resolve a span
This commit is contained in:
parent
d3a742bde9
commit
9dc129ae82
9 changed files with 38 additions and 12 deletions
|
@ -467,6 +467,7 @@ pub fn maybe_create_entry_wrapper<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>(
|
|||
ty::ParamEnv::reveal_all(),
|
||||
start_def_id,
|
||||
cx.tcx().mk_args(&[main_ret_ty.into()]),
|
||||
None,
|
||||
);
|
||||
let start_fn = cx.get_fn_addr(start_instance);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue