Compiling ttrpc v0.5.5
error[E0277]: `[&str; 1]` is not an iterator
--> /home/tim/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/ttrpc-0.5.5/build.rs:12:17
|
12 | .inputs(["src/ttrpc.proto"])
| ^^^^^^^^^^^^^^^^^^^
| |
| expected an implementor of trait `IntoIterator`
| help: consider borrowing here: `&["src/ttrpc.proto"]`
|
= note: the trait bound `[&str; 1]: IntoIterator` is not satisfied
= note: required because of the requirements on the impl of `IntoIterator` for `[&str; 1]`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
error: could not compile `ttrpc`
Affected versions:
[ ] 0.5.4
[ ] 0.5.5
There is no need for version above 0.5 to support such a low rust version.
Got error:
Affected versions:
There is no need for version above 0.5 to support such a low rust version.