diff --git a/src/librustc_mir/borrow_check/nll/region_infer/values.rs b/src/librustc_mir/borrow_check/nll/region_infer/values.rs index 3bd3cb2995b38..f9c1c11c62a04 100644 --- a/src/librustc_mir/borrow_check/nll/region_infer/values.rs +++ b/src/librustc_mir/borrow_check/nll/region_infer/values.rs @@ -252,19 +252,6 @@ impl PlaceholderIndices { } } -impl ::std::iter::FromIterator for PlaceholderIndices { - fn from_iter(iter: I) -> Self - where - I: IntoIterator, - { - 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