]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-55731.nll.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-55731.nll.stderr
CommitLineData
94222f64 1error: implementation of `DistributedIteratorMulti` is not general enough
48663c56
XL
2 --> $DIR/issue-55731.rs:48:5
3 |
4LL | / multi(Map {
5LL | | i: Cloned(PhantomData),
6LL | | f: X,
7LL | | });
94222f64
XL
8 | |______^ implementation of `DistributedIteratorMulti` is not general enough
9 |
10 = note: `DistributedIteratorMulti<&'0 ()>` would have to be implemented for the type `Cloned<&()>`, for any lifetime `'0`...
11 = note: ...but `DistributedIteratorMulti<&'1 ()>` is actually implemented for the type `Cloned<&'1 ()>`, for some specific lifetime `'1`
48663c56
XL
12
13error: aborting due to previous error
14