Skip to content

Commit 1baf4ba

Browse files
Instance::resolve -> Instance::try_resolve, and other nits
1 parent d0d1f72 commit 1baf4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ pub fn create_ecx<'tcx>(
375375
});
376376
let main_ret_ty = tcx.fn_sig(entry_id).no_bound_vars().unwrap().output();
377377
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
378-
let start_instance = ty::Instance::resolve(
378+
let start_instance = ty::Instance::try_resolve(
379379
tcx,
380380
ty::ParamEnv::reveal_all(),
381381
start_id,

0 commit comments

Comments
 (0)