Silence most of the remaining warnings

This commit is contained in:
Brian Anderson 2012-10-05 11:53:09 -07:00
parent 1b732145ec
commit e46e97fc9a
3 changed files with 6 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -1,5 +1,7 @@
//! Support code for serialization.
#[allow(deprecated_mode)];
/*
Core serialization interfaces.
*/