Skip to content

Commit 17b6e73

Browse files
committed
Auto merge of #111371 - compiler-errors:revert-110907, r=petrochenkov
Revert "Populate effective visibilities in `rustc_privacy`" This reverts commit cff85f22f5030fbe7266d272da74a9e76160523c, cc #110907. It needs to be fixed, but there are too many issues being reported that I wanted to put up a revert until a proper fix can be committed. Fixes a ton of issues where private but still reachable impls were missing during codegen: Fixes #111320 Fixes #111321 Fixes #111334 Fixes #111357 Fixes #111368 Fixes #111373 Fixes #111377 Fixes #111386 Fixes #111387 `@bors` p=1 r? `@petrochenkov`
2 parents 4a56973 + d4725cc commit 17b6e73

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)