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
10
10
|
11
-
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
11
+
= note: `{fn item std::future::ready::<&'0 ()>: fn(&'0 ()) -> std::future::Ready<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
12
12
= note: ...but it actually implements `FnOnce<(&(),)>`
13
13
14
14
error: implementation of `FnOnce` is not general enough
| |______^ implementation of `FnOnce` is not general enough
23
23
|
24
-
= note: `fn(&'0 ()) -> std::future::Ready<&'0 ()> {std::future::ready::<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
24
+
= note: `{fn item std::future::ready::<&'0 ()>: fn(&'0 ()) -> std::future::Ready<&'0 ()>}` must implement `FnOnce<(&'1 (),)>`, for any two lifetimes `'0` and `'1`...
25
25
= note: ...but it actually implements `FnOnce<(&(),)>`
26
26
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
0 commit comments