1 error[E0667]: `impl Trait` is not allowed in path parameters
2 --> $DIR/impl_trait_projections.rs:12:51
4 LL | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item {
7 error[E0667]: `impl Trait` is not allowed in path parameters
8 --> $DIR/impl_trait_projections.rs:19:9
10 LL | -> <impl Iterator as Iterator>::Item
13 error[E0667]: `impl Trait` is not allowed in path parameters
14 --> $DIR/impl_trait_projections.rs:26:27
16 LL | -> <::std::ops::Range<impl Debug> as Iterator>::Item
19 error[E0667]: `impl Trait` is not allowed in path parameters
20 --> $DIR/impl_trait_projections.rs:33:29
22 LL | -> <dyn Iterator<Item = impl Debug> as Iterator>::Item
25 error[E0667]: `impl Trait` is not allowed in path parameters
26 --> $DIR/impl_trait_projections.rs:12:51
28 LL | fn projection_is_disallowed(x: impl Iterator) -> <impl Iterator>::Item {
31 error: aborting due to 5 previous errors
33 For more information about this error, try `rustc --explain E0667`.