From ee78d811e488e2f279cfda454f8f909477dc3d6b Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 2 May 2013 22:52:19 -0700 Subject: [PATCH] libstd: Start warning about mutable fields, now that they only exist in stage0 --- src/libstd/std.rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- GitLab