diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-10-05 11:59:51 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-10-05 11:59:51 -0700 |
| commit | 016875b1b18b8d96a9e48ade55ce6d3ae7fd3680 (patch) | |
| tree | 186943630daf30b002773dc2d54df8c6c7d69eaa /src/libstd | |
| parent | e46e97fc9a6bb6485e87659ea968fac8c4d05a9f (diff) | |
std: Silence remaining warnings
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/std.rc | 4 |
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"); |
