about summary refs log tree commit diff
path: root/src/libstd/sys/unix/ext/raw.rs
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2020-05-07 07:23:06 -0500
committerSteve Klabnik <steve@steveklabnik.com>2020-05-07 07:23:06 -0500
commitd14f000ccc5104de1aecceabc97f2934caec1144 (patch)
tree6d8f4a8eb8ebb8115437cda1ae6e510d1474ca69 /src/libstd/sys/unix/ext/raw.rs
parentd626e4dadc37d7027d65f087da0ad1ddb460959f (diff)
downloadrust-d14f000ccc5104de1aecceabc97f2934caec1144.tar.gz
rust-d14f000ccc5104de1aecceabc97f2934caec1144.zip
Allow a few warnings.
On Windows, these types were causing warnings to be emitted during the
build. These types are allowed to not have idiomatic names, so the
warning should be supressed.
Diffstat (limited to 'src/libstd/sys/unix/ext/raw.rs')
-rw-r--r--src/libstd/sys/unix/ext/raw.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/ext/raw.rs b/src/libstd/sys/unix/ext/raw.rs
index d81368a18b4..40fa53d484f 100644
--- a/src/libstd/sys/unix/ext/raw.rs
+++ b/src/libstd/sys/unix/ext/raw.rs
@@ -11,10 +11,15 @@
 #![allow(deprecated)]
 
 #[stable(feature = "raw_ext", since = "1.1.0")]
+#[allow(non_camel_case_types)]
 pub type uid_t = u32;
+
 #[stable(feature = "raw_ext", since = "1.1.0")]
+#[allow(non_camel_case_types)]
 pub type gid_t = u32;
+
 #[stable(feature = "raw_ext", since = "1.1.0")]
+#[allow(non_camel_case_types)]
 pub type pid_t = i32;
 
 #[doc(inline)]