Trailing return

This commit is contained in:
Oliver Scherer 2019-12-24 00:08:47 +01:00
parent b9f6b9721a
commit 2673ba99fd

View file

@ -204,7 +204,7 @@ pub fn eval_main<'tcx>(tcx: TyCtxt<'tcx>, main_id: DefId, config: MiriConfig) ->
return None;
}
}
return Some(return_code);
Some(return_code)
}
Err(e) => report_err(&ecx, e),
}