Skip to content

Commit c21a157

Browse files
committed
Cleanup superflous import from old versions
1 parent 8cd0b29 commit c21a157

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/builder.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ use llvm_sys::{LLVMTypeKind};
99

1010
use crate::{AtomicOrdering, AtomicRMWBinOp, IntPredicate, FloatPredicate};
1111
use crate::basic_block::BasicBlock;
12-
use crate::values::{AggregateValue, AggregateValueEnum, AsValueRef, BasicValue, BasicValueEnum, PhiValue, FunctionValue, IntValue, PointerValue, StructValue, VectorValue, InstructionValue, GlobalValue, IntMathValue, FloatMathValue, PointerMathValue, InstructionOpcode, CallSiteValue};
12+
use crate::values::{AggregateValue, AggregateValueEnum, AsValueRef, BasicValue, BasicValueEnum, PhiValue, FunctionValue, IntValue, PointerValue, VectorValue, InstructionValue, GlobalValue, IntMathValue, FloatMathValue, PointerMathValue, InstructionOpcode, CallSiteValue};
13+
#[llvm_versions(3.9..=latest)]
14+
use crate::values::StructValue;
1315
use crate::types::{AsTypeRef, BasicType, IntMathType, FloatMathType, PointerType, PointerMathType};
1416

1517
use std::ffi::CString;

0 commit comments

Comments
 (0)