remove dead iterator code

This commit is contained in:
Niko Matsakis 2018-09-28 15:52:54 -04:00
parent 6ace43cf77
commit be02f74ea9

View file

@ -252,19 +252,6 @@ impl PlaceholderIndices {
}
}
impl ::std::iter::FromIterator<ty::Placeholder> for PlaceholderIndices {
fn from_iter<I>(iter: I) -> Self
where
I: IntoIterator<Item = ty::Placeholder>,
{
let mut result = Self::default();
iter.into_iter().for_each(|p| {
result.insert(p);
});
result
}
}
/// Stores the full values for a set of regions (in contrast to
/// `LivenessValues`, which only stores those points in the where a
/// region is live). The full value for a region may contain points in