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 cef892e commit e0d6292Copy full SHA for e0d6292
compiler/rustc_mir_transform/src/coroutine.rs
@@ -51,6 +51,7 @@
51
//! Otherwise it drops all the values in scope at the last suspension point.
52
53
use crate::abort_unwinding_calls;
54
+use crate::add_call_guards;
55
use crate::deref_separator::deref_finder;
56
use crate::errors;
57
use crate::pass_manager as pm;
@@ -1162,7 +1163,7 @@ fn create_coroutine_drop_shim<'tcx>(
1162
1163
pm::run_passes_no_validate(
1164
tcx,
1165
&mut body,
- &[&abort_unwinding_calls::AbortUnwindingCalls],
1166
+ &[&abort_unwinding_calls::AbortUnwindingCalls, &add_call_guards::CriticalCallEdges],
1167
None,
1168
);
1169
0 commit comments