]> git.lizzy.rs Git - rust.git/commitdiff
fix rebase
authorEsteban Küber <esteban@kuber.com.ar>
Sat, 11 Apr 2020 21:59:15 +0000 (14:59 -0700)
committerEsteban Küber <esteban@kuber.com.ar>
Sat, 11 Apr 2020 21:59:15 +0000 (14:59 -0700)
src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr

index e1c40e2537b3ec29bb63aeb71b67c2864d6b3171..6fc629b33a21e65a0f59e3b262130583bef8dd16 100644 (file)
@@ -5,7 +5,7 @@ LL |         qux(constraint);
    |             ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::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 `<impl Iterator as std::iter::Iterator>::Item`
 help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -20,7 +20,7 @@ LL |         qux(constraint);
    |             ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::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 `<impl Iterator as std::iter::Iterator>::Item`
 help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -35,7 +35,7 @@ LL |         qux(constraint);
    |             ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::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 `<impl Iterator as std::iter::Iterator>::Item`
 help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -50,7 +50,7 @@ LL |         qux(constraint);
    |             ^^^^^^^^^^ `<impl Iterator as std::iter::Iterator>::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 `<impl Iterator as std::iter::Iterator>::Item`
 help: introduce a type parameter with a trait bound instead of using `impl Trait`
@@ -65,7 +65,7 @@ LL |         qux(constraint);
    |             ^^^^^^^^^^ `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::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 `<impl Iterator + std::fmt::Debug as std::iter::Iterator>::Item`
 help: introduce a type parameter with a trait bound instead of using `impl Trait`