Remove ResultsCursor::get_with_analysis
.
We can just call `ResultsCursor::state` and `ResultsCursor::analysis` separately.
This commit is contained in:
parent
406c0b8ae4
commit
912eb1f7c1
2 changed files with 2 additions and 6 deletions
|
@ -139,7 +139,8 @@ where
|
|||
) => {
|
||||
let loc = Location { block: bb, statement_index };
|
||||
cursor.seek_before_primary_effect(loc);
|
||||
let (state, analysis) = cursor.get_with_analysis();
|
||||
let state = cursor.get();
|
||||
let analysis = cursor.analysis();
|
||||
analysis.peek_at(tcx, *place, state, call);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue