librustc: Lint the old drop destructor notation off
This commit is contained in:
parent
7353568cd8
commit
08c840205e
9 changed files with 51 additions and 81 deletions
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue