diff --git a/src/elf_bytes.rs b/src/elf_bytes.rs index f37c221..6444e76 100644 --- a/src/elf_bytes.rs +++ b/src/elf_bytes.rs @@ -829,12 +829,10 @@ impl<'data, E: EndianParse> ElfBytes<'data, E> { mod interface_tests { use super::*; use crate::abi::{SHT_GNU_HASH, SHT_NOBITS, SHT_NOTE, SHT_NULL, SHT_REL, SHT_RELA, SHT_STRTAB}; - use crate::dynamic::Dyn; use crate::endian::AnyEndian; use crate::hash::sysv_hash; use crate::note::{Note, NoteGnuAbiTag, NoteGnuBuildId}; use crate::relocation::Rela; - use crate::segment::ProgramHeader; #[test] fn simultaenous_segments_parsing() { diff --git a/src/elf_stream.rs b/src/elf_stream.rs index 9b9b661..87a0d5b 100644 --- a/src/elf_stream.rs +++ b/src/elf_stream.rs @@ -738,7 +738,6 @@ mod interface_tests { use crate::hash::SysVHashTable; use crate::note::{Note, NoteGnuAbiTag, NoteGnuBuildId}; use crate::relocation::Rela; - use crate::symbol::Symbol; #[test] fn test_open_stream() { diff --git a/src/note.rs b/src/note.rs index f17a7d7..9029113 100644 --- a/src/note.rs +++ b/src/note.rs @@ -263,7 +263,6 @@ impl ParseAt for NoteHeader { #[cfg(test)] mod parse_tests { use super::*; - use crate::abi; use crate::endian::{BigEndian, LittleEndian}; #[test]