diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2020-02-18 02:13:30 -0800 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2020-02-28 11:37:59 -0800 |
| commit | ad4777dbca1d4d1b052db01b1191862c9fbbad64 (patch) | |
| tree | 399130954829f62afcb8578d8e6da0ae0a58ef5d /src/test/ui/methods | |
| parent | 8993b99ae28a1f8e3c11231a17e645feee66ea2f (diff) | |
| download | rust-ad4777dbca1d4d1b052db01b1191862c9fbbad64.tar.gz rust-ad4777dbca1d4d1b052db01b1191862c9fbbad64.zip | |
Deduplicate information in E0599
Diffstat (limited to 'src/test/ui/methods')
| -rw-r--r-- | src/test/ui/methods/method-call-err-msg.stderr | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.stderr b/src/test/ui/methods/method-call-err-msg.stderr index 2b683f8aa2a..aa38e4da018 100644 --- a/src/test/ui/methods/method-call-err-msg.stderr +++ b/src/test/ui/methods/method-call-err-msg.stderr @@ -38,13 +38,11 @@ LL | pub struct Foo; | --------------- | | | method `take` not found for this - | this type doesn't satisfy the bound `std::iter::Iterator` + | the method `take` exists but this type doesn't satisfy the bound `Foo: std::iter::Iterator` ... LL | .take() | ^^^^ method not found in `Foo` | - = note: the method `take` exists but the following trait bounds were not satisfied: - `Foo: std::iter::Iterator` = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `take`, perhaps you need to implement one of them: candidate #1: `std::io::Read` |
