@@ -10,7 +10,7 @@ LL | fn qux(_: impl std::fmt::Debug) {}
1010 = help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
1111help: introduce a type parameter with a trait bound instead of using `impl Trait`
1212 |
13- LL | fn foo<T : Iterator>(constraints: T ) where <T as std::iter::Iterator>::Item: std::fmt::Debug {
13+ LL | fn foo<I : Iterator>(constraints: I ) where <I as std::iter::Iterator>::Item: std::fmt::Debug {
1414 | ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1515
1616error[E0277]: `<impl Iterator as std::iter::Iterator>::Item` doesn't implement `std::fmt::Debug`
@@ -25,7 +25,7 @@ LL | fn qux(_: impl std::fmt::Debug) {}
2525 = help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
2626help: introduce a type parameter with a trait bound instead of using `impl Trait`
2727 |
28- LL | fn bar<T, U : Iterator>(t: T, constraints: U ) where T: std::fmt::Debug, <U as std::iter::Iterator>::Item: std::fmt::Debug {
28+ LL | fn bar<T, I : Iterator>(t: T, constraints: I ) where T: std::fmt::Debug, <I as std::iter::Iterator>::Item: std::fmt::Debug {
2929 | ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3030
3131error[E0277]: `<impl Iterator as std::iter::Iterator>::Item` doesn't implement `std::fmt::Debug`
@@ -40,7 +40,7 @@ LL | fn qux(_: impl std::fmt::Debug) {}
4040 = help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
4141help: introduce a type parameter with a trait bound instead of using `impl Trait`
4242 |
43- LL | fn baz<T : Iterator>(t: impl std::fmt::Debug, constraints: T ) where <T as std::iter::Iterator>::Item: std::fmt::Debug {
43+ LL | fn baz<I : Iterator>(t: impl std::fmt::Debug, constraints: I ) where <I as std::iter::Iterator>::Item: std::fmt::Debug {
4444 | ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4545
4646error[E0277]: `<impl Iterator as std::iter::Iterator>::Item` doesn't implement `std::fmt::Debug`
@@ -55,7 +55,7 @@ LL | fn qux(_: impl std::fmt::Debug) {}
5555 = help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
5656help: introduce a type parameter with a trait bound instead of using `impl Trait`
5757 |
58- LL | fn bat<K , T: std::fmt::Debug, U: Iterator>(t: T, constraints: U, _: K ) where <U as std::iter::Iterator>::Item: std::fmt::Debug {
58+ LL | fn bat<I , T: std::fmt::Debug, U: Iterator>(t: T, constraints: U, _: I ) where <U as std::iter::Iterator>::Item: std::fmt::Debug {
5959 | ^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6060
6161error[E0277]: `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::Item` doesn't implement `std::fmt::Debug`
@@ -70,7 +70,7 @@ LL | fn qux(_: impl std::fmt::Debug) {}
7070 = help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::Item`
7171help: introduce a type parameter with a trait bound instead of using `impl Trait`
7272 |
73- LL | fn bak<T : Iterator + std::fmt::Debug>(constraints: T ) where <T as std::iter::Iterator>::Item: std::fmt::Debug {
73+ LL | fn bak<I : Iterator + std::fmt::Debug>(constraints: I ) where <I as std::iter::Iterator>::Item: std::fmt::Debug {
7474 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7575
7676error: aborting due to 5 previous errors
0 commit comments