Add diagnostic item for std::iter::Enumerate
This commit is contained in:
parent
40dcd796d0
commit
bcc4469c2b
@ -192,6 +192,7 @@
|
||||
Duration,
|
||||
Encodable,
|
||||
Encoder,
|
||||
Enumerate,
|
||||
Eq,
|
||||
Equal,
|
||||
Err,
|
||||
|
@ -15,6 +15,7 @@
|
||||
#[derive(Clone, Debug)]
|
||||
#[must_use = "iterators are lazy and do nothing unless consumed"]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[cfg_attr(not(test), rustc_diagnostic_item = "Enumerate")]
|
||||
pub struct Enumerate<I> {
|
||||
iter: I,
|
||||
count: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user