We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ace43c commit be02f74Copy full SHA for be02f74
src/librustc_mir/borrow_check/nll/region_infer/values.rs
@@ -252,19 +252,6 @@ impl PlaceholderIndices {
252
}
253
254
255
-impl ::std::iter::FromIterator<ty::Placeholder> for PlaceholderIndices {
256
- fn from_iter<I>(iter: I) -> Self
257
- where
258
- I: IntoIterator<Item = ty::Placeholder>,
259
- {
260
- let mut result = Self::default();
261
- iter.into_iter().for_each(|p| {
262
- result.insert(p);
263
- });
264
- result
265
- }
266
-}
267
-
268
/// Stores the full values for a set of regions (in contrast to
269
/// `LivenessValues`, which only stores those points in the where a
270
/// region is live). The full value for a region may contain points in
0 commit comments