Open luckypoem opened 5 years ago
在mac上。 git clone https://github.com/sticnarf/shunter shunter-by-sticnarf cd shunter-by-sticnarf cargo build --release 显示: ... error[E0283]: type annotations required: cannot resolve std::io::Error: std::convert::From<_> --> /Users/brite/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-dns-unofficial-0.1.1/src/net.rs:100:54 | 100 | futures::stream::iter(addrs.into_iter().map(Ok)).fold(result, move |prev, addr| { | ^^^^
std::io::Error: std::convert::From<_>
error: aborting due to previous error
For more information about this error, try rustc --explain E0283. error: Could not compile tokio-dns-unofficial. warning: build failed, waiting for other jobs to finish... error: build failed
rustc --explain E0283
tokio-dns-unofficial
怎么解决?
不好意思,现在这个项目还不可用,我现在暂时也没精力开发。
在mac上。 git clone https://github.com/sticnarf/shunter shunter-by-sticnarf cd shunter-by-sticnarf cargo build --release 显示: ... error[E0283]: type annotations required: cannot resolve
std::io::Error: std::convert::From<_>
--> /Users/brite/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-dns-unofficial-0.1.1/src/net.rs:100:54 | 100 | futures::stream::iter(addrs.into_iter().map(Ok)).fold(result, move |prev, addr| { | ^^^^error: aborting due to previous error
For more information about this error, try
rustc --explain E0283
. error: Could not compiletokio-dns-unofficial
. warning: build failed, waiting for other jobs to finish... error: build failed怎么解决?