about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-02-26 20:56:52 +0000
committervarkor <github@varkor.com>2019-03-12 18:34:43 +0000
commit4aa5fd080660ec542ea32f646e9932d0f0daf879 (patch)
tree7880091e7ac32dabf43592939ac3be721a545998 /src
parent1dea6e00def29caf081458f78c711c62dd992726 (diff)
downloadrust-4aa5fd080660ec542ea32f646e9932d0f0daf879.tar.gz
rust-4aa5fd080660ec542ea32f646e9932d0f0daf879.zip
Update test for issue #55731
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/issues/issue-55731.stderr5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/ui/issues/issue-55731.stderr b/src/test/ui/issues/issue-55731.stderr
index 67f2053de1e..f490b45bf97 100644
--- a/src/test/ui/issues/issue-55731.stderr
+++ b/src/test/ui/issues/issue-55731.stderr
@@ -4,9 +4,8 @@ error: implementation of `DistributedIteratorMulti` is not general enough
 LL |     multi(Map { //~ ERROR implementation of `DistributedIteratorMulti` is not general enough
    |     ^^^^^
    |
-   = note: Due to a where-clause on `multi`,
-   = note: `Map<Cloned<&()>, X>` must implement `DistributedIteratorMulti<&'0 ()>`, for any lifetime `'0`
-   = note: but `Map<Cloned<&()>, X>` actually implements `DistributedIteratorMulti<&'1 ()>`, for some specific lifetime `'1`
+   = note: `DistributedIteratorMulti<&'0 ()>` would have to be implemented for the type `Cloned<&()>`, for any lifetime `'0`
+   = note: but `DistributedIteratorMulti<&'1 ()>` is actually implemented for the type `Cloned<&'1 ()>`, for some specific lifetime `'1`
 
 error: aborting due to previous error