about summary refs log tree commit diff
path: root/src/test/ui/methods
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-02-17 23:59:21 -0800
committerEsteban Küber <esteban@kuber.com.ar>2020-02-28 11:37:58 -0800
commit5e8707f39d781df9cc40e81cd1ccdffcfbe5af1f (patch)
treef1a828f7fc2f1f24f21347bc6f611d10e2a33418 /src/test/ui/methods
parentf037d5ca1bf42108520a1fd3b07c5cec46bc94da (diff)
downloadrust-5e8707f39d781df9cc40e81cd1ccdffcfbe5af1f.tar.gz
rust-5e8707f39d781df9cc40e81cd1ccdffcfbe5af1f.zip
Reduce vebosity of E0599
Diffstat (limited to 'src/test/ui/methods')
-rw-r--r--src/test/ui/methods/method-call-err-msg.stderr1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/ui/methods/method-call-err-msg.stderr b/src/test/ui/methods/method-call-err-msg.stderr
index 0c48e93347d..2b683f8aa2a 100644
--- a/src/test/ui/methods/method-call-err-msg.stderr
+++ b/src/test/ui/methods/method-call-err-msg.stderr
@@ -44,7 +44,6 @@ LL |      .take()
    |       ^^^^ method not found in `Foo`
    |
    = note: the method `take` exists but the following trait bounds were not satisfied:
-           `&mut Foo: std::iter::Iterator`
            `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: