From 08c840205ea477d4f76216abac45be6a4ce9fa4b Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 8 Mar 2013 16:21:58 -0800 Subject: librustc: Lint the old `drop` destructor notation off --- src/libcore/core.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcore') diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 4d686c8ab33..db1dc1e28aa 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -52,6 +52,7 @@ Implicitly, all crates behave as if they included the following prologue: #[deny(non_camel_case_types)]; #[allow(deprecated_mutable_fields)]; #[deny(deprecated_self)]; +#[allow(deprecated_drop)]; // On Linux, link to the runtime with -lrt. #[cfg(target_os = "linux")] -- cgit 1.4.1-3-g733a5