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
error: implementation of `std::marker::Send` is not general enough
|
87 | ) -> Result<Response<ServerDecodeMessage>,Status> {
| ________________________________________________________^
146 | | }147 | | }
| |_____^ implementation of `std::marker::Send` is not general enough
|
= note: `std::marker::Send` would have to be implemented for the type `&[u32]`
= note: ...but `std::marker::Send` is actually implemented for the type `&'0[u32]`,for some specific lifetime `'0`
This is actually a broken rustc issue that thankfully provides us with the clearest and most enlightening of error messages. The fix has nothing to do with the error message 👍
Bug Report
No repro
Version
tonic = "0.12.3"
Platform
Macos and Ubuntu
More Info
See these Rustc issues unfixed for 5 years:
Send
is not general enough" error with lifetimedSend
impl used inasync fn
rust-lang/rust#96865The text was updated successfully, but these errors were encountered: