librustc: Lint the old drop destructor notation off

This commit is contained in:
Patrick Walton 2013-03-08 16:21:58 -08:00
parent 7353568cd8
commit 08c840205e
9 changed files with 51 additions and 81 deletions

View file

@ -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")]