1 error[E0433]: failed to resolve: use of undeclared type `IntoIter`
2 --> $DIR/issue-82956.rs:25:24
4 LL | let mut iter = IntoIter::new(self);
5 | ^^^^^^^^ use of undeclared type `IntoIter`
7 help: consider importing one of these items
9 LL | use std::array::IntoIter;
11 LL | use std::collections::binary_heap::IntoIter;
13 LL | use std::collections::btree_map::IntoIter;
15 LL | use std::collections::btree_set::IntoIter;
17 and 8 other candidates
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0433`.