about summary refs log tree commit diff
path: root/src/libstd/std.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/std.rc')
-rw-r--r--src/libstd/std.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index f29872bf387..a3b18e50df2 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -28,7 +28,7 @@ not required in or otherwise suitable for the core library.
 
 #[allow(vecs_implicitly_copyable)];
 #[deny(non_camel_case_types)];
-#[allow(deprecated_self)];
+#[deny(deprecated_self)];
 #[allow(deprecated_mutable_fields)];
 
 #[no_core];