// rustfmt-style_edition: 2024 pub type Iter<'a, D> = impl DoubleEndedIterator)> + ExactSizeIterator + 'a; trait FOo { pub type Iter<'a, D> = impl DoubleEndedIterator)> + ExactSizeIterator + 'a; } impl Bar { type Iter<'a, D> = impl DoubleEndedIterator)> + ExactSizeIterator + 'a; }