pub fn visit_results<'mir, 'tcx, A>(
body: &'mir Body<'tcx>,
blocks: impl IntoIterator<Item = BasicBlock>,
results: &Results<'tcx, A>,
vis: &mut impl ResultsVisitor<'tcx, A>,
)where
A: Analysis<'tcx>,Expand description
Calls the visitor methods in vis for every location in every block in blocks. Note that
every block in blocks must be reachable, and a debug_assert checks this.