Use Place directly in apply_call_return_effect on framework/tests, it's Copy
This commit is contained in:
parent
017608f5d2
commit
b46754ea99
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue