We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a1d3a commit c8079e9Copy full SHA for c8079e9
compiler/rustc_span/src/symbol.rs
@@ -754,6 +754,7 @@ symbols! {
754
enable,
755
encode,
756
end,
757
+ enumerate_method,
758
env,
759
env_CFG_RELEASE: env!("CFG_RELEASE"),
760
eprint_macro,
library/core/src/iter/traits/iterator.rs
@@ -974,6 +974,7 @@ pub trait Iterator {
974
#[inline]
975
#[stable(feature = "rust1", since = "1.0.0")]
976
#[rustc_do_not_const_check]
977
+ #[cfg_attr(not(test), rustc_diagnostic_item = "enumerate_method")]
978
fn enumerate(self) -> Enumerate<Self>
979
where
980
Self: Sized,
0 commit comments