3 ms·
If it were always possible to infer all lifetimes, we'd do it. Unfortunately that's not the case. There are a number of RFCs in the pipeline to help with lifet
by steveklabnik 9y ago
If it were always possible to infer all lifetimes, we'd do it. Unfortunately that's not the case.
There are a number of RFCs in the pipeline to help with lifetimes, including more elision. In no particular order:
https://github.com/rust-lang/rfcs/pull/2115 https://github.com/rust-lang/rfcs/pull/2115
https://github.com/rust-lang/rfcs/pull/2094 https://github.com/rust-lang/rfcs/pull/2094
https://github.com/rust-lang/rfcs/pull/2093 https://github.com/rust-lang/rfcs/pull/2093