Use typedefs to clarify some impls.
And insert some whitespace.
This commit is contained in:
parent
1bcbb7c93b
commit
b85cba87e4
@ -104,7 +104,7 @@ where
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'res, 'mir, 'tcx, A> ResultsCursor<'mir, 'tcx, A, ResultsCloned<'res, 'tcx, A>>
|
impl<'res, 'mir, 'tcx, A> ResultsClonedCursor<'res, 'mir, 'tcx, A>
|
||||||
where
|
where
|
||||||
A: Analysis<'tcx> + CloneAnalysis,
|
A: Analysis<'tcx> + CloneAnalysis,
|
||||||
{
|
{
|
||||||
|
@ -80,6 +80,7 @@ where
|
|||||||
visit_results(body, blocks.map(|(bb, _)| bb), self, vis)
|
visit_results(body, blocks.map(|(bb, _)| bb), self, vis)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'tcx, A> Results<'tcx, A>
|
impl<'tcx, A> Results<'tcx, A>
|
||||||
where
|
where
|
||||||
A: Analysis<'tcx>,
|
A: Analysis<'tcx>,
|
||||||
@ -92,6 +93,7 @@ where
|
|||||||
ResultsCursor::new(body, self)
|
ResultsCursor::new(body, self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'tcx, A> Results<'tcx, A>
|
impl<'tcx, A> Results<'tcx, A>
|
||||||
where
|
where
|
||||||
A: Analysis<'tcx> + CloneAnalysis,
|
A: Analysis<'tcx> + CloneAnalysis,
|
||||||
@ -113,7 +115,8 @@ where
|
|||||||
self.clone_analysis().into_results_cursor(body)
|
self.clone_analysis().into_results_cursor(body)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl<'res, 'tcx, A> Results<'tcx, A, &'res EntrySets<'tcx, A>>
|
|
||||||
|
impl<'res, 'tcx, A> ResultsCloned<'res, 'tcx, A>
|
||||||
where
|
where
|
||||||
A: Analysis<'tcx> + CloneAnalysis,
|
A: Analysis<'tcx> + CloneAnalysis,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user