error[E0282]: type annotations needed
--> src/pb/pb/sys.rs:197:31
|
197 | + if self.rpc_data == vec![] { 0 } else { 1 + sizeof_len((&self.rpc_data).len()) }
| ^^^^^^ cannot infer type for type parameter `T`
|
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
I illustrate with a sample:
for this message
the output is:
compiler fails to infer type:
output should be something like: