mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
604 B
Plaintext
15 lines
604 B
Plaintext
error: implementation of `DistributedIteratorMulti` is not general enough
|
|
--> $DIR/issue-55731.rs:48:5
|
|
|
|
|
LL | / multi(Map {
|
|
LL | | i: Cloned(PhantomData),
|
|
LL | | f: X,
|
|
LL | | });
|
|
| |______^ implementation of `DistributedIteratorMulti` is not general enough
|
|
|
|
|
= 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 1 previous error
|
|
|