libstd: Start warning about mutable fields, now that they only exist in stage0

This commit is contained in:
Patrick Walton 2013-05-02 22:52:19 -07:00
parent bba0680cb0
commit ee78d811e4
1 changed files with 3 additions and 1 deletions

View File

@ -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;