diff options
| author | bors <bors@rust-lang.org> | 2024-04-24 19:26:50 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-24 19:26:50 +0000 |
| commit | ef8b9dcf23700f2e2265317611460d3a65c19eff (patch) | |
| tree | a59d95c79196056a4d9242c895dad863d92f492f /library/core | |
| parent | 7bb4f0889e8b133c5b03c46f31f2ae6432c00219 (diff) | |
| parent | eaeaeb92a5756a596d28d8952b6a85c67ee72d5f (diff) | |
| download | rust-ef8b9dcf23700f2e2265317611460d3a65c19eff.tar.gz rust-ef8b9dcf23700f2e2265317611460d3a65c19eff.zip | |
Auto merge of #124330 - fmease:rollup-a98y7jf, r=fmease
Rollup of 6 pull requests Successful merges: - #123316 (Test `#[unix_sigpipe = "inherit"]` with both `SIG_DFL` and `SIG_IGN`) - #123794 (More DefineOpaqueTypes::Yes) - #123881 (Bump Fuchsia versions) - #124281 (fix weak memory bug in TLS on Windows) - #124282 (windows fill_utf16_buf: explain the expected return value) - #124308 (Add diagnostic item for `std::iter::Enumerate`) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/core')
| -rw-r--r-- | library/core/src/iter/adapters/enumerate.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/iter/adapters/enumerate.rs b/library/core/src/iter/adapters/enumerate.rs index ef46040f0a7..7adbabf69e4 100644 --- a/library/core/src/iter/adapters/enumerate.rs +++ b/library/core/src/iter/adapters/enumerate.rs @@ -15,6 +15,7 @@ use crate::ops::Try; #[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, |
