Skip to content

Commit b4e94d9

Browse files
Fix bug where is_call_return_effect_applied was never set
1 parent a7f5252 commit b4e94d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/librustc_mir/dataflow/generic.rs

+1
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ where
274274
..
275275
} = &term.kind {
276276
if !self.is_call_return_effect_applied {
277+
self.is_call_return_effect_applied = true;
277278
self.results.analysis.apply_call_return_effect(
278279
&mut self.state,
279280
target.block,

0 commit comments

Comments
 (0)