Skip to content

Commit

Permalink
Allow deprecation warnings on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Apr 16, 2021
1 parent c6e5bff commit f76916b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
// irrelevant as this crate is developed out-of-tree.
#![cfg_attr(backtrace_in_libstd, allow(warnings))]
#![cfg_attr(not(feature = "std"), allow(dead_code))]
// We know this is deprecated, it's only here for back-compat reasons.
#![cfg_attr(feature = "rustc-serialize", allow(deprecated))]

#[cfg(feature = "std")]
#[macro_use]
Expand Down

0 comments on commit f76916b

Please sign in to comment.