diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2020-05-07 07:23:06 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2020-05-07 07:23:06 -0500 |
| commit | d14f000ccc5104de1aecceabc97f2934caec1144 (patch) | |
| tree | 6d8f4a8eb8ebb8115437cda1ae6e510d1474ca69 /src/libstd/sys/unix/ext/net.rs | |
| parent | d626e4dadc37d7027d65f087da0ad1ddb460959f (diff) | |
| download | rust-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/net.rs')
| -rw-r--r-- | src/libstd/sys/unix/ext/net.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/ext/net.rs b/src/libstd/sys/unix/ext/net.rs index bfdc39ada75..32c2ac43129 100644 --- a/src/libstd/sys/unix/ext/net.rs +++ b/src/libstd/sys/unix/ext/net.rs @@ -7,6 +7,7 @@ use libc; // FIXME(#43348): Make libc adapt #[doc(cfg(...))] so we don't need these fake definitions here? #[cfg(not(unix))] +#[allow(non_camel_case_types)] mod libc { pub use libc::c_int; pub type socklen_t = u32; |
