diff options
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/core.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 42312d96d1b..4d686c8ab33 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -51,6 +51,7 @@ Implicitly, all crates behave as if they included the following prologue: #[warn(vecs_implicitly_copyable)]; #[deny(non_camel_case_types)]; #[allow(deprecated_mutable_fields)]; +#[deny(deprecated_self)]; // On Linux, link to the runtime with -lrt. #[cfg(target_os = "linux")] |
