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 0ca3d51 commit 766cc66Copy full SHA for 766cc66
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