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/rand/os.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rand/os.rs b/src/libstd/rand/os.rs
index c5b7154ffdb..91308be21ed 100644
--- a/src/libstd/rand/os.rs
+++ b/src/libstd/rand/os.rs
@@ -88,6 +88,7 @@ mod imp {
     #[repr(C)]
     struct SecRandom;
 
+    #[allow(non_uppercase_statics)]
     static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
 
     #[link(name = "Security", kind = "framework")]