Skip to content

Commit b46754e

Browse files
committed
Use Place directly in apply_call_return_effect on framework/tests, it's Copy
1 parent 017608f commit b46754e

File tree

1 file changed

+1
-1
lines changed
  • src/librustc_mir/dataflow/framework

1 file changed

+1
-1
lines changed

src/librustc_mir/dataflow/framework/tests.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Analysis<'tcx> for MockAnalysis<'tcx> {
223223
block: BasicBlock,
224224
_func: &mir::Operand<'tcx>,
225225
_args: &[mir::Operand<'tcx>],
226-
_return_place: &mir::Place<'tcx>,
226+
_return_place: mir::Place<'tcx>,
227227
) {
228228
let location = self.body.terminator_loc(block);
229229
let idx = self.effect_at_target(SeekTarget::AfterAssumeCallReturns(location)).unwrap();

0 commit comments

Comments
 (0)