Skip to content

Commit 0665e00

Browse files
committed
ref: remove unused imports
1 parent 6894d18 commit 0665e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use llvm_sys::core::{LLVMAppendBasicBlockInContext, LLVMContextCreate, LLVMContextDispose, LLVMCreateBuilderInContext, LLVMDoubleTypeInContext, LLVMFloatTypeInContext, LLVMFP128TypeInContext, LLVMInsertBasicBlockInContext, LLVMInt16TypeInContext, LLVMInt1TypeInContext, LLVMInt32TypeInContext, LLVMInt64TypeInContext, LLVMInt8TypeInContext, LLVMIntTypeInContext, LLVMModuleCreateWithNameInContext, LLVMStructCreateNamed, LLVMStructTypeInContext, LLVMVoidTypeInContext, LLVMHalfTypeInContext, LLVMGetGlobalContext, LLVMPPCFP128TypeInContext, LLVMConstStructInContext, LLVMMDNodeInContext, LLVMMDStringInContext, LLVMGetMDKindIDInContext, LLVMX86FP80TypeInContext, LLVMConstStringInContext, LLVMContextSetDiagnosticHandler, LLVMGetInlineAsm};
44
#[llvm_versions(4.0..=latest)]
5-
use llvm_sys::core::{LLVMCreateEnumAttribute, LLVMCreateStringAttribute, LLVMGetTypeKind, LLVMTypeOf, LLVMGetElementType};
5+
use llvm_sys::core::{LLVMCreateEnumAttribute, LLVMCreateStringAttribute};
66
use llvm_sys::prelude::{LLVMContextRef, LLVMTypeRef, LLVMValueRef, LLVMDiagnosticInfoRef};
77
use llvm_sys::ir_reader::LLVMParseIRInContext;
88
use llvm_sys::target::{LLVMIntPtrTypeForASInContext, LLVMIntPtrTypeInContext};
@@ -19,7 +19,7 @@ use crate::memory_buffer::MemoryBuffer;
1919
use crate::module::Module;
2020
use crate::support::{to_c_str, LLVMString};
2121
use crate::targets::TargetData;
22-
use crate::types::{BasicTypeEnum, FloatType, IntType, StructType, VoidType, AsTypeRef, AnyTypeEnum, FunctionType};
22+
use crate::types::{BasicTypeEnum, FloatType, IntType, StructType, VoidType, AsTypeRef, FunctionType};
2323
use crate::values::{AsValueRef, BasicMetadataValueEnum, BasicValueEnum, FunctionValue, StructValue, MetadataValue, VectorValue, PointerValue};
2424

2525
use std::marker::PhantomData;

0 commit comments

Comments
 (0)