diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-04-11 14:59:15 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-04-11 14:59:15 -0700 |
| commit | 984aac6eed8fe80ed97cbc3f9fe585579733db60 (patch) | |
| tree | 4075438efd9a51ffe85e2a9d69d626a608e930c8 | |
| parent | ca25e2868dc2109701367073304857ead72cd202 (diff) | |
| download | rust-984aac6eed8fe80ed97cbc3f9fe585579733db60.tar.gz rust-984aac6eed8fe80ed97cbc3f9fe585579733db60.zip | |
fix rebase
| -rw-r--r-- | src/test/ui/suggestions/impl-trait-with-missing-bounds.stderr | 10 |
1 files changed, 5 insertions, 5 deletions
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); | ^^^^^^^^^^ `<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` |
