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.
2 parents 2d174ec + b27b37a commit 84b8ef3Copy full SHA for 84b8ef3
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