Skip to content

Commit d4725cc

Browse files
Revert "Populate effective visibilities in rustc_privacy"
This reverts commit cff85f22f5030fbe7266d272da74a9e76160523c.
1 parent 7ea3932 commit d4725cc

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core/src/iter/adapters/flatten.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ where
310310
/// Real logic of both `Flatten` and `FlatMap` which simply delegate to
311311
/// this type.
312312
#[derive(Clone, Debug)]
313-
#[unstable(feature = "trusted_len", issue = "37572")]
314313
struct FlattenCompat<I, U> {
315314
iter: Fuse<I>,
316315
frontiter: Option<U>,
@@ -464,7 +463,6 @@ where
464463
}
465464
}
466465

467-
#[unstable(feature = "trusted_len", issue = "37572")]
468466
impl<I, U> Iterator for FlattenCompat<I, U>
469467
where
470468
I: Iterator<Item: IntoIterator<IntoIter = U, Item = U::Item>>,
@@ -579,7 +577,6 @@ where
579577
}
580578
}
581579

582-
#[unstable(feature = "trusted_len", issue = "37572")]
583580
impl<I, U> DoubleEndedIterator for FlattenCompat<I, U>
584581
where
585582
I: DoubleEndedIterator<Item: IntoIterator<IntoIter = U, Item = U::Item>>,
@@ -649,23 +646,20 @@ where
649646
}
650647
}
651648

652-
#[unstable(feature = "trusted_len", issue = "37572")]
653649
unsafe impl<const N: usize, I, T> TrustedLen
654650
for FlattenCompat<I, <[T; N] as IntoIterator>::IntoIter>
655651
where
656652
I: TrustedLen<Item = [T; N]>,
657653
{
658654
}
659655

660-
#[unstable(feature = "trusted_len", issue = "37572")]
661656
unsafe impl<'a, const N: usize, I, T> TrustedLen
662657
for FlattenCompat<I, <&'a [T; N] as IntoIterator>::IntoIter>
663658
where
664659
I: TrustedLen<Item = &'a [T; N]>,
665660
{
666661
}
667662

668-
#[unstable(feature = "trusted_len", issue = "37572")]
669663
unsafe impl<'a, const N: usize, I, T> TrustedLen
670664
for FlattenCompat<I, <&'a mut [T; N] as IntoIterator>::IntoIter>
671665
where

0 commit comments

Comments
 (0)