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.
impl Iterator
_
1 parent 234990c commit b27b37aCopy full SHA for b27b37a
core/src/iter/traits/iterator.rs
@@ -66,6 +66,7 @@ fn _assert_is_object_safe(_: &dyn Iterator<Item = ()>) {}
66
#[must_use = "iterators are lazy and do nothing unless consumed"]
67
pub trait Iterator {
68
/// The type of the elements being iterated over.
69
+ #[rustc_diagnostic_item = "IteratorItem"]
70
#[stable(feature = "rust1", since = "1.0.0")]
71
type Item;
72
0 commit comments