diff --git a/plugin/src/arch/aarch64/ast.rs b/plugin/src/arch/aarch64/ast.rs index 4488f4104..bc17e323f 100644 --- a/plugin/src/arch/aarch64/ast.rs +++ b/plugin/src/arch/aarch64/ast.rs @@ -1,4 +1,3 @@ -use syn; use proc_macro2::Span; use crate::common::{Size, Jump}; diff --git a/plugin/src/arch/x64/ast.rs b/plugin/src/arch/x64/ast.rs index 291403f4d..954c9816d 100644 --- a/plugin/src/arch/x64/ast.rs +++ b/plugin/src/arch/x64/ast.rs @@ -1,4 +1,3 @@ -use syn; use proc_macro2::Span; use crate::common::{Size, Jump}; diff --git a/plugin/src/serialize.rs b/plugin/src/serialize.rs index c7f91e162..14b456eab 100644 --- a/plugin/src/serialize.rs +++ b/plugin/src/serialize.rs @@ -1,4 +1,3 @@ -use syn; use syn::parse; use syn::spanned::Spanned; use proc_macro2::{Span, TokenStream, TokenTree, Literal}; diff --git a/runtime/src/components.rs b/runtime/src/components.rs index e7d349d09..8fb71ad59 100644 --- a/runtime/src/components.rs +++ b/runtime/src/components.rs @@ -616,8 +616,7 @@ impl LitPool { #[cfg(test)] mod tests { use crate::*; - use std::fmt::Debug; - use relocations::{Relocation, RelocationSize}; + use relocations::RelocationSize; #[test] fn test_litpool_size() { diff --git a/runtime/src/lib.rs b/runtime/src/lib.rs index 6d8cbae24..18b00ad33 100644 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -36,7 +36,6 @@ use crate::components::{MemoryManager, LabelRegistry, RelocRegistry, ManagedRelo use crate::relocations::Relocation; use std::hash::Hash; -use std::iter::Extend; use std::sync::{Arc, RwLock, RwLockReadGuard}; use std::io; use std::error;