Closed
Description
Thanks for pushing the requests so quickly! :) However, when trying to compile a new cargo project with json 0.9.0, 2 deprecation warnings are being generated:
-*- mode: compilation; default-directory: "d:/hello_world/" -*-
Compilation started at Sat Jul 16 20:01:46
make -k
RUST_BACKTRACE=1 cargo run
Compiling bitflags v0.7.0
Compiling ftoa v0.1.1
Compiling itoa v0.1.1
Compiling xml-rs v0.3.4
Compiling json v0.9.0
C:\Users\(...)\json-0.9.0\src\lib.rs:238:1: 238:63 error: `#[deprecated]` attribute is unstable (see issue #29935)
C:\Users\(...)\json-0.9.0\src\lib.rs:238 #[deprecated(since="0.9.0", note="use `json::Error` instead")]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\(...)\json-0.9.0\src\lib.rs:241:1: 241:64 error: `#[deprecated]` attribute is unstable (see issue #29935)
C:\Users\(...)\json-0.9.0\src\lib.rs:241 #[deprecated(since="0.9.0", note="use `json::Result` instead")]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors
Build failed, waiting for other jobs to finish...
Could not compile `json`.
Since it's set to treat deprecations as errors, maybe just remove them altogether?
Metadata
Metadata
Assignees
Labels
No labels