mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
604 B
Text
14 lines
604 B
Text
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
|
|
|