Skip to content

Commit 44e2d3b

Browse files
committed
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 ```
1 parent a7b8f5b commit 44e2d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/liblibc/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ pub mod types {
10961096
}
10971097
pub mod posix01 {
10981098
use types::common::c95::{c_void};
1099-
use types::common::c99::{uint8_t, uint32_t, int32_t};
1099+
use types::common::c99::{uint32_t, int32_t};
11001100
use types::os::arch::c95::{c_long, time_t};
11011101
use types::os::arch::posix88::{dev_t, gid_t, ino_t};
11021102
use types::os::arch::posix88::{mode_t, off_t};

0 commit comments

Comments
 (0)