You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| |______^ implementation of `FnOnce` is not general enough
12
+
|
13
+
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
14
+
= note: ...but it actually implements `FnOnce<(&(),)>`
15
+
16
+
error: implementation of `FnOnce` is not general enough
| |______^ implementation of `FnOnce` is not general enough
27
+
|
28
+
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
29
+
= note: ...but it actually implements `FnOnce<(&(),)>`
30
+
31
+
error: implementation of `FnOnce` is not general enough
| |______^ implementation of `FnOnce` is not general enough
42
+
|
43
+
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
44
+
= note: ...but it actually implements `FnOnce<(&(),)>`
45
+
46
+
error: implementation of `FnOnce` is not general enough
| |______^ implementation of `FnOnce` is not general enough
57
+
|
58
+
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
59
+
= note: ...but it actually implements `FnOnce<(&(),)>`
0 commit comments