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.
1 parent faff382 commit 072f3ebCopy full SHA for 072f3eb
src/libstd/rt.rs
@@ -62,7 +62,7 @@ fn lang_start<T: ::termination::Termination + 'static>
62
::sys_common::backtrace::__rust_begin_short_backtrace(move || main().report())
63
});
64
#[cfg(not(feature = "backtrace"))]
65
- let exit_code = panic::catch_unwind(|| main().report());
+ let exit_code = panic::catch_unwind(move || main().report());
66
67
sys_common::cleanup();
68
exit_code.unwrap_or(101)
0 commit comments