about summary refs log tree commit diff
path: root/src/libcore/core.rc
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-08 16:21:58 -0800
committerPatrick Walton <pcwalton@mimiga.net>2013-03-11 09:36:00 -0700
commit08c840205ea477d4f76216abac45be6a4ce9fa4b (patch)
tree7c5b611ac00f1054d51fd657d7fb7d143291fce2 /src/libcore/core.rc
parent7353568cd8d079fd4d9f928bc49a228276e86d19 (diff)
downloadrust-08c840205ea477d4f76216abac45be6a4ce9fa4b.tar.gz
rust-08c840205ea477d4f76216abac45be6a4ce9fa4b.zip
librustc: Lint the old `drop` destructor notation off
Diffstat (limited to 'src/libcore/core.rc')
-rw-r--r--src/libcore/core.rc1
1 files changed, 1 insertions, 0 deletions
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")]