Remove some unused code relating to ResultsCloned
.
This commit is contained in:
parent
b85cba87e4
commit
389e2cc69a
4 changed files with 2 additions and 39 deletions
|
@ -18,12 +18,6 @@ impl<'a> MaybeStorageLive<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
impl crate::CloneAnalysis for MaybeStorageLive<'_> {
|
||||
fn clone_analysis(&self) -> Self {
|
||||
self.clone()
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx, 'a> crate::AnalysisDomain<'tcx> for MaybeStorageLive<'a> {
|
||||
type Domain = BitSet<Local>;
|
||||
|
||||
|
@ -173,12 +167,6 @@ impl<'res, 'mir, 'tcx> MaybeRequiresStorage<'res, 'mir, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
impl crate::CloneAnalysis for MaybeRequiresStorage<'_, '_, '_> {
|
||||
fn clone_analysis(&self) -> Self {
|
||||
Self { borrowed_locals: self.borrowed_locals.new_cursor() }
|
||||
}
|
||||
}
|
||||
|
||||
impl<'tcx> crate::AnalysisDomain<'tcx> for MaybeRequiresStorage<'_, '_, 'tcx> {
|
||||
type Domain = BitSet<Local>;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue