Skip to content

Commit 984aac6

Browse files
committed
fix rebase
1 parent ca25e28 commit 984aac6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LL | qux(constraint);
55
| ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
66
...
77
LL | fn qux(_: impl std::fmt::Debug) {}
8-
| --- --------------- required by this bound in `qux`
8+
| --------------- required by this bound in `qux`
99
|
1010
= help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
1111
help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -20,7 +20,7 @@ LL | qux(constraint);
2020
| ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
2121
...
2222
LL | fn qux(_: impl std::fmt::Debug) {}
23-
| --- --------------- required by this bound in `qux`
23+
| --------------- required by this bound in `qux`
2424
|
2525
= help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
2626
help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -35,7 +35,7 @@ LL | qux(constraint);
3535
| ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
3636
...
3737
LL | fn qux(_: impl std::fmt::Debug) {}
38-
| --- --------------- required by this bound in `qux`
38+
| --------------- required by this bound in `qux`
3939
|
4040
= help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
4141
help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -50,7 +50,7 @@ LL | qux(constraint);
5050
| ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
5151
...
5252
LL | fn qux(_: impl std::fmt::Debug) {}
53-
| --- --------------- required by this bound in `qux`
53+
| --------------- required by this bound in `qux`
5454
|
5555
= help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator as std::iter::Iterator>::Item`
5656
help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -65,7 +65,7 @@ LL | qux(constraint);
6565
| ^^^^^^^^^^ `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
6666
...
6767
LL | fn qux(_: impl std::fmt::Debug) {}
68-
| --- --------------- required by this bound in `qux`
68+
| --------------- required by this bound in `qux`
6969
|
7070
= help: the trait `std::fmt::Debug` is not implemented for `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::Item`
7171
help: introduce a type parameter with a trait bound instead of using `impl Trait`

0 commit comments

Comments
 (0)