about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/std.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index 51e11669f44..931974d2454 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -28,7 +28,9 @@ not required in or otherwise suitable for the core library.
 
 #[allow(vecs_implicitly_copyable)];
 #[deny(non_camel_case_types)];
-#[allow(deprecated_mutable_fields)];
+
+// Allow mutable fields only in stage0.
+#[warn(deprecated_mutable_fields)];
 
 pub mod uv_ll;