diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-02 22:52:19 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-05-08 17:03:58 -0700 |
| commit | ee78d811e488e2f279cfda454f8f909477dc3d6b (patch) | |
| tree | 880d1891fc7729d4ab0a2eab604c6688fba73cb0 | |
| parent | bba0680cb0801bc52d2abfc87bbf0885dc0355f8 (diff) | |
| download | rust-ee78d811e488e2f279cfda454f8f909477dc3d6b.tar.gz rust-ee78d811e488e2f279cfda454f8f909477dc3d6b.zip | |
libstd: Start warning about mutable fields, now that they only exist in stage0
| -rw-r--r-- | src/libstd/std.rc | 4 |
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; |
