We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7c55364 + 5b8d9a1 commit 797ccd0Copy full SHA for 797ccd0
src/eval.rs
@@ -357,7 +357,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
357
match entry_type {
358
EntryFnType::Main { .. } => {
359
let start_id = tcx.lang_items().start_fn().unwrap();
360
- let main_ret_ty = tcx.fn_sig(entry_id).output();
+ let main_ret_ty = tcx.fn_sig(entry_id).no_bound_vars().unwrap().output();
361
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
362
let start_instance = ty::Instance::resolve(
363
tcx,
0 commit comments