diff --git a/src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr b/src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr index e1c40e2537b..6fc629b33a2 100644 --- a/src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr +++ b/src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr @@ -5,7 +5,7 @@ LL | qux(constraint); | ^^^^^^^^^^ `::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` ... LL | fn qux(_: impl std::fmt::Debug) {} - | --- --------------- required by this bound in `qux` + | --------------- required by this bound in `qux` | = help: the trait `std::fmt::Debug` is not implemented for `::Item` help: introduce a type parameter with a trait bound instead of using `impl Trait` @@ -20,7 +20,7 @@ LL | qux(constraint); | ^^^^^^^^^^ `::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` ... LL | fn qux(_: impl std::fmt::Debug) {} - | --- --------------- required by this bound in `qux` + | --------------- required by this bound in `qux` | = help: the trait `std::fmt::Debug` is not implemented for `::Item` help: introduce a type parameter with a trait bound instead of using `impl Trait` @@ -35,7 +35,7 @@ LL | qux(constraint); | ^^^^^^^^^^ `::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` ... LL | fn qux(_: impl std::fmt::Debug) {} - | --- --------------- required by this bound in `qux` + | --------------- required by this bound in `qux` | = help: the trait `std::fmt::Debug` is not implemented for `::Item` help: introduce a type parameter with a trait bound instead of using `impl Trait` @@ -50,7 +50,7 @@ LL | qux(constraint); | ^^^^^^^^^^ `::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` ... LL | fn qux(_: impl std::fmt::Debug) {} - | --- --------------- required by this bound in `qux` + | --------------- required by this bound in `qux` | = help: the trait `std::fmt::Debug` is not implemented for `::Item` help: introduce a type parameter with a trait bound instead of using `impl Trait` @@ -65,7 +65,7 @@ LL | qux(constraint); | ^^^^^^^^^^ `::Item` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` ... LL | fn qux(_: impl std::fmt::Debug) {} - | --- --------------- required by this bound in `qux` + | --------------- required by this bound in `qux` | = help: the trait `std::fmt::Debug` is not implemented for `::Item` help: introduce a type parameter with a trait bound instead of using `impl Trait`