about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-10-05 11:59:51 -0700
committerBrian Anderson <banderson@mozilla.com>2012-10-05 11:59:51 -0700
commit016875b1b18b8d96a9e48ade55ce6d3ae7fd3680 (patch)
tree186943630daf30b002773dc2d54df8c6c7d69eaa /src/libstd
parente46e97fc9a6bb6485e87659ea968fac8c4d05a9f (diff)
std: Silence remaining warnings
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/std.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index cc076772e6e..7fc3004bbcf 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -20,7 +20,9 @@ not required in or otherwise suitable for the core library.
 
 #[allow(vecs_implicitly_copyable)];
 #[deny(non_camel_case_types)];
-#[warn(deprecated_mode)];
+// XXX this is set to allow because there are two methods in serialization
+// that can't be silenced otherwise. Most every module is set to forbid
+#[allow(deprecated_mode)];
 #[forbid(deprecated_pattern)];
 
 extern mod core(vers = "0.4");