From e46e97fc9a6bb6485e87659ea968fac8c4d05a9f Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 5 Oct 2012 11:53:09 -0700 Subject: [PATCH] Silence most of the remaining warnings --- src/libcore/stackwalk.rs | 4 ++-- src/libstd/net_tcp.rs | 3 ++- src/libstd/serialization.rs | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/libcore/stackwalk.rs b/src/libcore/stackwalk.rs index 09973148c8c..a88a44701ce 100644 --- a/src/libcore/stackwalk.rs +++ b/src/libcore/stackwalk.rs @@ -3,8 +3,8 @@ #[legacy_modes]; // tjc: remove after snapshot // NB: transitionary, de-mode-ing. -// XXX: Can't do this because frame_address needs a deprecated mode. -//#[forbid(deprecated_mode)]; +// XXX: Can't forbid this because frame_address needs a deprecated mode. +#[allow(deprecated_mode)]; #[forbid(deprecated_pattern)]; use cast::reinterpret_cast; diff --git a/src/libstd/net_tcp.rs b/src/libstd/net_tcp.rs index 1027acfb569..249551fbb7d 100644 --- a/src/libstd/net_tcp.rs +++ b/src/libstd/net_tcp.rs @@ -1,5 +1,6 @@ //! High-level interface to libuv's TCP functionality -#[warn(deprecated_mode)]; +// XXX Need FFI fixes +#[allow(deprecated_mode)]; use ip = net_ip; use uv::iotask; diff --git a/src/libstd/serialization.rs b/src/libstd/serialization.rs index 269027a80e5..8ba00e65dec 100644 --- a/src/libstd/serialization.rs +++ b/src/libstd/serialization.rs @@ -1,5 +1,7 @@ //! Support code for serialization. +#[allow(deprecated_mode)]; + /* Core serialization interfaces. */