diff options
| author | Jashank Jeremy <jashank@rulingia.com> | 2015-07-31 18:11:10 +1000 |
|---|---|---|
| committer | Jashank Jeremy <jashank@rulingia.com> | 2015-07-31 18:11:10 +1000 |
| commit | 44e2d3b4fef3d7e1f01576196f334d1ed5df3d8e (patch) | |
| tree | c47629a923411634526779029d5d0f0f6d019795 | |
| parent | a7b8f5bc47966bc995004f5905f831be4b68d026 (diff) | |
| download | rust-44e2d3b4fef3d7e1f01576196f334d1ed5df3d8e.tar.gz rust-44e2d3b4fef3d7e1f01576196f334d1ed5df3d8e.zip | |
Fix #27360's unused import
#27360 removed a padding field full of uint8_t's, but didn't remove
the use. This didn't get picked up presumably because (a) bors
doesn't have any BSD builders, and/or (b) #[cfg]'d out blocks don't
get linted.
```
rustc: x86_64-unknown-freebsd/stage1/lib/rustlib/x86_64-unknown-freebsd/lib/liblibc
src/liblibc/lib.rs:1099:42: 1099:49 error: unused import, #[deny(unused_imports)] on by default
src/liblibc/lib.rs:1099 use types::common::c99::{uint8_t, uint32_t, int32_t};
^~~~~~~
error: aborting due to previous error
fatal runtime error: Could not unwind stack, error = 159555904
```| -rw-r--r-- | src/liblibc/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index f474841136e..2e82d6973c5 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -1096,7 +1096,7 @@ pub mod types { } pub mod posix01 { use types::common::c95::{c_void}; - use types::common::c99::{uint8_t, uint32_t, int32_t}; + use types::common::c99::{uint32_t, int32_t}; use types::os::arch::c95::{c_long, time_t}; use types::os::arch::posix88::{dev_t, gid_t, ino_t}; use types::os::arch::posix88::{mode_t, off_t}; |
