Skip to content

Commit

Permalink
Fix bug where is_call_return_effect_applied was never set
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstatic-morse committed Sep 18, 2019
1 parent a7f5252 commit b4e94d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_mir/dataflow/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ where
..
} = &term.kind {
if !self.is_call_return_effect_applied {
self.is_call_return_effect_applied = true;
self.results.analysis.apply_call_return_effect(
&mut self.state,
target.block,
Expand Down

0 comments on commit b4e94d9

Please sign in to comment.