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.
#[unix_sigpipe = "..."]
1 parent dba35d2 commit b9c13efCopy full SHA for b9c13ef
src/eval.rs
@@ -277,7 +277,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
277
// Call start function.
278
279
match entry_type {
280
- EntryFnType::Main => {
+ EntryFnType::Main { .. } => {
281
let start_id = tcx.lang_items().start_fn().unwrap();
282
let main_ret_ty = tcx.fn_sig(entry_id).output();
283
let main_ret_ty = main_ret_ty.no_bound_vars().unwrap();
0 commit comments