Skip to content

Commit 5ab5747

Browse files
committed
Update test for issue rust-lang#55731
1 parent 79c2788 commit 5ab5747

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/ui/issues/issue-55731.stderr

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@ error: implementation of `DistributedIteratorMulti` is not general enough
44
LL | multi(Map { //~ ERROR implementation of `DistributedIteratorMulti` is not general enough
55
| ^^^^^
66
|
7-
= note: Due to a where-clause on `multi`,
8-
= note: `Map<Cloned<&()>, X>` must implement `DistributedIteratorMulti<&'0 ()>`, for any lifetime `'0`
9-
= note: but `Map<Cloned<&()>, X>` actually implements `DistributedIteratorMulti<&'1 ()>`, for some specific lifetime `'1`
7+
= note: `DistributedIteratorMulti<&'0 ()>` would have to be implemented for the type `Cloned<&()>`, for any lifetime `'0`
8+
= note: but `DistributedIteratorMulti<&'1 ()>` is actually implemented for the type `Cloned<&'1 ()>`, for some specific lifetime `'1`
109

1110
error: aborting due to previous error
1211

0 commit comments

Comments
 (0)