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
There was a breaking soundness fix in 0.3.31, seems like it's not a trivial fix. rust-lang/futures-rs#2830
error[E0310]: the parameter type `K` may not live long enough
--> src/mapped_futures/task.rs:104:9
|
104 | waker_ref(this)
| ^^^^^^^^^^^^^^^
| |
| the parameter type `K` must be valid for the static lifetime...
| ...so that the type `K` will meet its required lifetime bounds
|
help: consider adding an explicit lifetime bound
|
101 | impl<K: Hash + Eq + 'static, Fut> Task<K, Fut> {
| +++++++++
There was a breaking soundness fix in 0.3.31, seems like it's not a trivial fix. rust-lang/futures-rs#2830
FuturesUnordered had to make a copy of WakerRef without static bounds https://github.com/rust-lang/futures-rs/pull/2830/files#diff-4749c3509fed684159acdaa05f4c30240798a7c201aaa5ecc0e25641b4b6b9d6
The text was updated successfully, but these errors were encountered: