mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
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
|
||||
A: Analysis<'tcx> + CloneAnalysis,
|
||||
{
|
||||
|
@ -80,6 +80,7 @@ where
|
||||
visit_results(body, blocks.map(|(bb, _)| bb), self, vis)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx, A> Results<'tcx, A>
|
||||
where
|
||||
A: Analysis<'tcx>,
|
||||
@ -92,6 +93,7 @@ where
|
||||
ResultsCursor::new(body, self)
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx, A> Results<'tcx, A>
|
||||
where
|
||||
A: Analysis<'tcx> + CloneAnalysis,
|
||||
@ -113,7 +115,8 @@ where
|
||||
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
|
||||
A: Analysis<'tcx> + CloneAnalysis,
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user