mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-05 03:24:06 +03:00
libstd: Start warning about mutable fields, now that they only exist in stage0
This commit is contained in:
+3
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user