Skip to content

Commit 5b8d9a1

Browse files
committed
add EarlyBinder::no_bound_vars
1 parent c8d71fa commit 5b8d9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
357357
match entry_type {
358358
EntryFnType::Main { .. } => {
359359
let start_id = tcx.lang_items().start_fn().unwrap();
360-
let main_ret_ty = tcx.fn_sig(entry_id).subst_identity().output();
360+
let main_ret_ty = tcx.fn_sig(entry_id).no_bound_vars().unwrap().output();
361361
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
362362
let start_instance = ty::Instance::resolve(
363363
tcx,

0 commit comments

Comments
 (0)