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
Hello,I think geiger is a very good crate and want to use it. when I install cargo-geiger by “cargo install cargo-geiger”, I get following error.
My cargo version is 1.50.0
error[E0283]: type annotations needed
--> /root/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/cargo-0.46.1/src/cargo/util/config/de.rs:471:63
|
471 | seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
| ----^^^^^^--
| | |
| | cannot infer type for type parameter T declared on the trait AsRef
| this method call resolves to &T
|
= note: cannot satisfy std::string::String: AsRef<_>
error: aborting due to previous error
For more information about this error, try rustc --explain E0283.
error: failed to compile cargo-geiger v0.10.2, intermediate artifacts can be found at /tmp/cargo-installDlo7zr
Caused by:
could not compile cargo
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Hello,I think geiger is a very good crate and want to use it. when I install cargo-geiger by “cargo install cargo-geiger”, I get following error.
My cargo version is 1.50.0
error[E0283]: type annotations needed
--> /root/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/cargo-0.46.1/src/cargo/util/config/de.rs:471:63
|
471 | seed.deserialize(Tuple2Deserializer(1i32, env.as_ref()))
| ----^^^^^^--
| | |
| | cannot infer type for type parameter
T
declared on the traitAsRef
| this method call resolves to
&T
|
= note: cannot satisfy
std::string::String: AsRef<_>
error: aborting due to previous error
For more information about this error, try
rustc --explain E0283
.error: failed to compile
cargo-geiger v0.10.2
, intermediate artifacts can be found at/tmp/cargo-installDlo7zr
Caused by:
could not compile
cargo
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered: