Skip to content

Commit

Permalink
Use Place directly in apply_call_return_effect on framework/tests, it…
Browse files Browse the repository at this point in the history
…'s Copy
  • Loading branch information
spastorino committed Mar 31, 2020
1 parent 017608f commit b46754e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/dataflow/framework/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl Analysis<'tcx> for MockAnalysis<'tcx> {
block: BasicBlock,
_func: &mir::Operand<'tcx>,
_args: &[mir::Operand<'tcx>],
_return_place: &mir::Place<'tcx>,
_return_place: mir::Place<'tcx>,
) {
let location = self.body.terminator_loc(block);
let idx = self.effect_at_target(SeekTarget::AfterAssumeCallReturns(location)).unwrap();
Expand Down

0 comments on commit b46754e

Please sign in to comment.