Skip to content

Commit f76916b

Browse files
committed
Allow deprecation warnings on nightly
1 parent c6e5bff commit f76916b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
// irrelevant as this crate is developed out-of-tree.
9999
#![cfg_attr(backtrace_in_libstd, allow(warnings))]
100100
#![cfg_attr(not(feature = "std"), allow(dead_code))]
101+
// We know this is deprecated, it's only here for back-compat reasons.
102+
#![cfg_attr(feature = "rustc-serialize", allow(deprecated))]
101103

102104
#[cfg(feature = "std")]
103105
#[macro_use]

0 commit comments

Comments
 (0)