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
Building with rustc v1.26.2 results in the following error message:
$ cargo build
[...]
Compiling rustc-serialize v0.3.19
error[E0642]: patterns aren't allowed in methods without bodies
--> /home/s/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45
|
147 | &f_name: &str,
| ^^^^^^^
[...]
error: aborting due to previous error
For more information about this error, try `rustc --explain E0642`.
error: Could not compile `rustc-serialize`.
warning: build failed, waiting for other jobs to finish...
error: build failed
This error has already been fixed in rustc-serialize (see rust-lang-deprecated/rustc-serialize#169), however, in Cargo.toml, an outdated version (rustc-serialize = "0.3") is referenced, where this fix is not yet present.
Suggested fixes
Upgrade the dependency to the latest published version: rustc-serialize = "0.3.24"
Building with
rustc v1.26.2
results in the following error message:This error has already been fixed in
rustc-serialize
(see rust-lang-deprecated/rustc-serialize#169), however, inCargo.toml
, an outdated version (rustc-serialize = "0.3"
) is referenced, where this fix is not yet present.Suggested fixes
rustc-serialize = "0.3.24"
rustc-serialize
with serde, sincerustc-serialize
is deprected (see https://crates.io/crates/rustc-serialize)The text was updated successfully, but these errors were encountered: